[TYPO3-mvc] Simple query by uid question

Felix Eggbert eggbert at phez.com
Wed Oct 13 16:34:11 CEST 2010


Perfect, now it works, thanks a lot!

Regards,
Felix

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
Marc Bastian Heinrichs
Gesendet: Donnerstag, 7. Oktober 2010 17:11
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] Simple query by uid question

Hi Felix,

> Thanks for your quick reply...Whoops, that was indeed wrong and of course
> explains the empty result...
> 
> However now I get an exception "Unsupported relation for contains()"...
> 
> Did I set up the relation correctly within my Category model?

Yes, if you want to have an 1:1 relation.
But than you should try "$query->matching($query->equals(".


Regards,
Marc Bastian
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list