[TYPO3-mvc] single table inheritance - subclasses

Henjo Hoeksma me at henjohoeksma.nl
Tue Apr 3 14:34:07 CEST 2012


Hi Dennis,

haven't nested that deep with STI, but it seems to me that querying to
'overall' repository should give back all sub sub objects as well...


Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Fri, Mar 30, 2012 at 11:41, Dennis Ahrens
<dennis.ahrens at googlemail.com>wrote:

> Hi list,
>
> we have the following inheritance structure
>
> FrontendUser
> |-UniversityUser
>  |-Student
>  |-Employee
>  |-Lecturer
>
> If you query the FrontendUserRepository, there are only hits for the types
> FrontendUser and UniversityUser, but not for the three subclasses of
> UniversityUser. The constraint only includes the next level of the
> inheritance structure.
>
> This is not intended, is it?
>
> I still have a patch ready, if somebody agrees with me.
>
> regards
> Dennis
> ______________________________**_________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at lists.typo3.org>
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**
> project-typo3v4mvc<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc>
>


More information about the TYPO3-project-typo3v4mvc mailing list