Hi Jay!

I don't know the exact answer to your question, but the
doctrine:mapping:import isn't (and can't really be) perfect. So, I don't
know the specifics as to what it expects in order for a many-to-many to
work, but typically if a mapping import doesn't work, it's because it's
simply not possible to introspect correctly for that particular situation.

So, could be a bug, but it's likely that Doctrine needs some information to
guess the relationship that it's not finding.

Thanks!

Ryan Weaver
US Office Head & Trainer - KnpLabs - Nashville, TN
http://www.knplabs.com <http://www.knplabs.com/en>
http://www.thatsquality.com
Twitter: @weaverryan


On Sun, Aug 7, 2011 at 10:57 AM, Jay Honrado <[email protected]> wrote:

> I tried porting the the implementation of sfGuardDoctrine to symfony2
> both for fun and practise, and I noticed the command
> doctrine:mapping:import does not capture many-to-many go-between
> tables. Is this a bug or am I simply doing it the wrong way? Or is it
> an absolute requirement that each entry in a table be indexed by a
> definite primary key which may or may not be apathetic of other table
> attributes?
>
> --
> 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

Reply via email to