[TYPO3-mvc] Respect storage page ignored on object properties
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Mon May 24 20:00:23 CEST 2010
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.
Thanks a lot for your further feedback,
Thomas
Am 24.05.2010 11:32, schrieb Sebastian Kurfürst:
> Hey Thomas,
>
> see my answer on the other thread:
>
> Exactly, that's correct behavior as well. For the following reason:
>
> - if, in TYPO3 backend, you relate records together, you can "jump" from
> one page to another as well, if you want to.
> - Imagine we would only fetch the related records from the current
> storage page: Then, not all relations which are set in the TYPO3 backend
> will be seen in Extbase, only those on one page.
> - Imagine, one adds a record from a different page to an aggregate; and
> the object storage only contains records from the storage page: Then,
> the record would have to be moved, else, it could not be found again.
>
> So, in summary, I think it's all correct behavior, it just has to be
> explained more thoroughly :-)
>
> I hope this helps :)
>
> Greets,
> Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list