No, I didnt. Adding that fixed it. Also, This means that if you have category separation as well as vendor separation you'll need to add both the vendor and the category directories to the kernel - is this expected behavior?
Tim On Fri, Sep 10, 2010 at 04:17, Jonathan Wage <[email protected]> wrote: > Do you have the directory "Bundle\Vendor" registered as a bundle directory > in your kernel? > - Jon > > On Thu, Sep 9, 2010 at 12:13 PM, Jeremy Mikola <[email protected]> wrote: >> >> I don't think there's a existing example of grouping bundles within a >> sub-dir of Bundle/, so you'll likely have problems with other things >> beyond Doctrine, too. >> >> If you'd like to organize third-party bundles (or their git submodule >> references) in their own directory, I suggest creating another top- >> level directory to place them in, such as VendorBundle/. Just be sure >> to add that to your autoload.php as well. >> >> On Sep 9, 12:49 am, Tim Nagel <[email protected]> wrote: >> > When an entity is defined in a Vendor Bundle (VendorTypeBundle) in a >> > Vendor directory, the entities metadata is not loaded properly in the >> > DoctrineExtension. >> > >> > [Doctrine\ORM\Mapping\MappingException] >> > Class Bundle\Vendor\ThingBundle\Entity\PageBlock is not a valid >> > entity or mapped super class. >> > >> > My tests reveal the problem is inside >> > >> > Symfony\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension::loadOrmEntityManageRBundleMappingInformation() >> > (Line ~327) >> > >> > From what I can see, the $bundleDirs array is checked, however it >> > doesnt take into account the Vendor directory. >> > >> > Tim >> >> -- >> 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 > > > > -- > Jonathan H. Wage > http://www.twitter.com/jwage > > -- > 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 > -- 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
