Experiencing the same error :s

Switch from annotation to xml it's a bit odd to me, we sould be able
to use Yaml, XML or Annotation without taking care of the base class
of a bundle no?

I posted a bug issue on the doctrine2 jira : doctrine-project.org/jira/
browse/DDC-904

Do you found a way to get it work without to swith to xml ?
Thanks a lot

Clément JOBEILI

On 27 oct, 09:49, Lukas Kahwe Smith <[email protected]> wrote:
> On 27.10.2010, at 10:39, Lukas Kahwe Smith wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On 27.10.2010, at 09:23, Tim Nagel wrote:
>
> >> I'm pretty sure that D2 wont do this by default and its a function of the 
> >> DoctrineExtension.
>
> >> On Wed, Oct 27, 2010 at 18:21, Lukas Kahwe Smith <[email protected]> 
> >> wrote:
>
> >> On 27.10.2010, at 00:22, Lukas Kahwe Smith wrote:
>
> >>> On 26.10.2010, at 23:58, Tim Nagel wrote:
>
> >>>> I am encountering similar issues with my extension using Annotations. I 
> >>>> _think_ it might have something to do with using XML metadata for the 
> >>>> base class with something else for the extension?
>
> >>>> Will be doing more debugging on that this week.
>
> >>> just converted from yaml to xml and now everything works fine .. 
> >>> generate:entities and generate:proxies.
>
> >> i guess the question now is if this is a Symfony2 issue or the more likely 
> >> case that its a Doctrine2 issue .. in which case the issue should be taken 
> >> over there.
>
> > sigh .. and now using XML it seems to screw up setting the repository class.
> >    <mapped-superclass name="Application\FooBundle\Entity\User" 
> > table="doctrine_user_user" 
> > repository-class="Bundle\DoctrineUserBundle\Entity\UserRepository">
>
> nevermind .. my bad .. had to change "mapped-superclass" to "entity" .. still 
> a bit odd that everything worked except setting the repository class.
>
> regards,
> Lukas Kahwe Smith
> [email protected]

-- 
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