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]<symfony-devs%[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

Reply via email to