[TYPO3-mvc] Respect storage page ignored on object properties
Martin Kutschker
masi-no at spam-typo3.org
Thu May 27 16:50:35 CEST 2010
Thomas "Thasmo" Deinhamer schrieb:
> Thanks for your answer, Sebastian.
>
> To be honest, I don't think this is a good behaviour, as it prevents
> using an Extbase extension for a multidomain TYPO3 installation.
>
> Of course I understand your reasons for fetching the related records
> from all pages, but since Extbase supports adding recursive and mutiple
> storage pages, it should belong to the admin/coder configuring the
> Extbase extension correctly to fetch all needed records accordingly,
> which is not very difficult. But filtering the fetched property-objects
> by their page uids is a lot more difficult and unneeded imho.
>
> So I'm strongly for changing this behaviour; Extbase should only fetch
> records from the configured storage pages.
In the TCA you can add some "magic" markers to the where clause restrictinng the related records to
one or more pages (even by taking some page TS into account). Ideally Extbase should honour this
where clause. If that's not possible it has to (sigh) provide other configuration means to do the same.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list