[TYPO3-mvc] Page repository using setRespectStoragePage(FALSE) doesn't return pages

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Wed Jan 19 12:11:23 CET 2011


Michael Knoll wrote:
> Don't forget to reset your record-type like:
>
> config.[your_ext].persistence.classes.[your_class].mapping.recordType >
>
> Otherwise, the repository will only fetch the records marked as records
> belonging to your recordType!

Hoi Michael!

Thanks for your reply!

Actually it's quite weird, because today
it's working suddenly. I guess it was a
reflection cache problem or something.

The trick was just really to create a new
'createQuery' method with setting the
'setRespectStoragePage' to FALSE.

Not sure when to clear the 'recordType' setting
of Extbase then. Maybe when single table inheritance
is enabled for the table.

Thanks anyway,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list