@Marco: I've just seen the same behaviour and opened issue here: 
https://github.com/doctrine/common/issues/740 with stack trace.

On Saturday, January 14, 2012 at 8:01:18 AM UTC+1, Douglas Phillips wrote:
>
> Well, after several hours of debugging and a brief chat on IRC, it 
> boiled down to an issue with using the wrong version of Common. 
>
> So ... if anyone else has the same issue, that's a good place to start 
> and save themselves a bunch of time chasing a red herring! 
>
> -Doug 
>
> On Jan 13, 11:26 am, Douglas Phillips <djpbusiness...@gmail.com> 
> wrote: 
> > Digging into this some more, I find that it looks like the annotation 
> > properties are not even being parsed (see below).  Any help would be 
> > greatly appreciated. 
> > 
> > Array 
> > ( 
> >     [fieldName] => userid 
> >     [targetEntity] => 
> >     [joinColumns] => Array 
> >         ( 
> >             [0] => Array 
> >                 ( 
> >                     [name] => 
> >                     [referencedColumnName] => id 
> >                     [unique] => 
> >                     [nullable] => 1 
> >                     [onDelete] => 
> >                     [columnDefinition] => 
> >                 ) 
> > 
> >         ) 
> > 
> >     [mappedBy] => 
> >     [inversedBy] => 
> >     [cascade] => 
> >     [orphanRemoval] => 
> >     [fetch] => 2 
> >     [type] => 1 
> >     [isOwningSide] => 1 
> >     [sourceEntity] => Application\Models\TokenAccounting 
> > ) 
> > 
> > On Jan 11, 1:57 pm, Douglas Phillips <djpbusiness...@gmail.com> wrote: 
> > 
> > 
> > 
> > > 1) AdminUsersControllerTest::testUserDetailPage 
> > > /library/Doctrine\ORM\Mapping\MappingException: The association 
> > > mapping 'userid' misses the 'targetEntity' attribute. 
> > 
> > > /library/Doctrine/ORM/Mapping/MappingException.php:58 
> > > /library/Doctrine/ORM/Mapping/ClassMetadataInfo.php:830 
> > > /library/Doctrine/ORM/Mapping/ClassMetadataInfo.php:880 
> > > /library/Doctrine/ORM/Mapping/ClassMetadataInfo.php:1511 
> > > /library/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php:366 
> > > /library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:284 
> > > /library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:170 
> > > /library/Doctrine/ORM/EntityManager.php:269 
> > > /library/Doctrine/ORM/Query/Parser.php:1472 
> > > /library/Doctrine/ORM/Query/Parser.php:1402 
> > > /library/Doctrine/ORM/Query/Parser.php:1169 
> > > /library/Doctrine/ORM/Query/Parser.php:756 
> > > /library/Doctrine/ORM/Query/Parser.php:725 
> > > /library/Doctrine/ORM/Query/Parser.php:211 
> > > /library/Doctrine/ORM/Query/Parser.php:286 
> > > /library/Doctrine/ORM/Query.php:230 
> > > /library/Doctrine/ORM/Query.php:241 
> > > /library/Doctrine/ORM/AbstractQuery.php:595 
> > > /library/Doctrine/ORM/AbstractQuery.php:488 
> > > /library/Doctrine/ORM/AbstractQuery.php:515 
> > > /application/modules/admin/controllers/UsersController.php:31 
> > > /library/Zend/Controller/Action.php:516 
> > > /library/Zend/Controller/Dispatcher/Standard.php:295 
> > > /library/Zend/Controller/Front.php:954 
> > > /tests/application/modules/admin/controllers/ 
> > > AdminUsersControllerTest.php:34 
> > > /tests/application/modules/admin/controllers/ 
> > > AdminUsersControllerTest.php:48 
> > > /usr/bin/phpunit:46 
> > 
> > (snip)

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to doctrine-user+unsubscr...@googlegroups.com.
To post to this group, send email to doctrine-user@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to