[TYPO3-mvc] resolve single table inheritance objects

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Apr 1 10:42:44 CEST 2011


Hey again,

>> It should work, I'm using it as well since TYPO3 4.4 at least.
>
> yeah, i also think it SHOULD work, but it doesn't. *g*

according to the code it has to work in your case (unless there's a bug 
in the TS configuration of your STI). The QueryResult object is 
internally calling the dataMapper->map function which is resolving STI.

Could you debug the method "getTargetType" of the DataMapper for 
possible errors?
I'll also do some tests this evening.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list