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

Reply via email to