[ixpmanager] IXP Manager - Doctrine Configuration Current Status

Yann Robin yann at islandbridgenetworks.ie
Thu Oct 4 08:24:20 IST 2018


Hello,

I am one of the developers of IPX manager, sometime by just running the 
command "composer install" it help.

It can come from that you still have the old cache, this kind of error 
message already happened to me when I wanted to create a new repository.

So try to run the command "composer install", if this does not change 
anything, I will dig deeper in your error.

Thanks

Abdul Saboor wrote:
>
> Dear Team IXP Manager,
> I am currently working to figure out doctrine ORM configuration in IXP
> Manager. The code has been written very deeply, it's very challenging.
>
> Right now, I am facing one challenge to create *Entity*, *Repository*
> /classes/ in the _*IXP Manager Database*_ main folders. Although, I
> have read Doctrine ORM official documentation to grasp the main
> concepts thoroughly, and it looks very simple to start, but more care
> is needed to handle it so that it can not affect the other modules of
> the project.
>
> I am going to attach the entity class for the faucet controller whose
> metadata has been written in the XML file. The IXP Manager's default
> approach is XML, given entities related information in XML format. The
> default path for the entities folder as written in
> _*doctrine.php*_ file is:
>
> 'managers' => [
> 'default' => [
> 'dev' => env('APP_DEBUG'),
> 'meta' => env('DOCTRINE_METADATA', '*xml*'),
> 'connection' => env('DB_CONNECTION', 'mysql'),
> 'namespaces' => [
> 'IXP',
> ],
> *'paths' => [
> database_path('xml')*
> ],
> 'repository' => Doctrine\ORM\EntityRepository::class,
> 'proxies' => [
> 'namespace' => 'Proxies',
> 'path' => database_path('Proxies'),
> 'auto_generate' => env('DOCTRINE_PROXY_AUTOGENERATE', false)
> ],
>
> The problem is when I run the following command at terminal, it gives
> me the error (Please see attachment - Doctrine Entity Error.png).
>
> /php artisan doctrine:schema:validate/
>
> In MappingException.php line 96:
>
> Class 'Entities\Faucet' does not exist.
>
> What does this means is that it is searching Faucet Entity File in
> _*app/Entities*_ folder, which is totally wrong according to its
> current configuration as you can see its default route is
> *database_path('xml')*.
>
> Would you please share this with the concerned developers of IXP
> Manager, so that we can move forward for further developments.
>
> Regards,
> Saboor
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20181004/a4389c98/attachment.html>


More information about the ixpmanager mailing list