[TYPO3-mvc] 6.2: How to debug recursive validation
g4-lisz at tonarchiv.ch
g4-lisz at tonarchiv.ch
Mon Jun 9 12:01:41 CEST 2014
On 06/08/2014 04:45 PM, Philipp Gampe wrote:
> Hi g4-lisz at tonarchiv.ch,
>
> g4-lisz at tonarchiv.ch wrote:
>
>> So the issue is something else: What do I have to return from the
>> repository to silence the "given subject was not a collection." error?
>> Or is there a better way to get the children ordered by a certain
>> attribute, without using the repository
> AFAIK this is a missing feature. And if extbase does this, it might happen
> that it creates a left join and then does the exclude clause (deleted !=0)
> wrong, because if the NULL values from the left join.
> So carefully check the SQL statements created by extbase.
>
> Best regards
Hi Philipp,
I see... so there is no change since 4.x
I'm using the defaultOrderings array in the repository class for this
purpose.
So my new question is: How to get from repository's findBy() method to a
proper getter return value?
Best regards,
Till
More information about the TYPO3-project-typo3v4mvc
mailing list