On 08.11.2010 14:27, c6dney c6dney wrote: > So I decided to install "DoctrineUserBundle" for the user management, > but for no reason, using "doctrine:generate:entities" command: > - generates all entities class for my Bundle (1st time) as attended, > - but also generates all entities classes for my Bundle (2nd time), and > entities classes for DoctrineUserBundle. > > The thing is, when I try to generate the repositories class I have the > error message from the console: > " PHP Fatal error: Cannot redeclare > Application\MyBundle\Entity\Test::getId() " because the methods are > duplicated in all my classes. > > Does somebody have a idea on why the methods are duplicated?
No idea, but same issue here (if it can make you feel better;), every entity is generated for every bundle I have, except they're generated in the proper namespace, so every entity has n times the method/properties in them. So far I've just been cleaning up the duplicates by hand because I never had time to debug the problem. Cheers -- Jordi Boggiano @seldaek :: http://seld.be/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
