[TYPO3-mvc] Respect storage page ignored on object properties

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Fri May 14 01:53:21 CEST 2010


Hello folks,

related to the ticket[1] I filed, on which I haven't
received feedback yet, I'm trying my luck here. ;o)

It seems that properties of domain objects, which are "child objects" 
are fetched ignoring the storage page.

Example:

Sysfolder 1: Categories (=storage page)
Sysfolder 2: Products

So now if I fetch 1 category from Sysfolder 1 and then access the 
products via $category->getProducts() the products are returned. If I 
try to get those products directly via the repository, it's not 
possible, cause they're not on the storage page.

This behaviour is a problem on multidomain TYPO3 installations where it 
is neccessary to be able to store products of different vendors/shops 
for different shop pages but using global categories.

Now when fetching the categories on a shop page and printing the 
products, all products of all vendors/shops are displayed.

Is there any solution to this? I really appreciate your help!

Thanks a lot,
Thomas

[1] http://forge.typo3.org/issues/show/7274


More information about the TYPO3-project-typo3v4mvc mailing list