Issue Bug Closed

#81022SITEROOT marker is replaced with 0 when used in flexform

Sascha Nowak 04/26/17, 11:54 updated 04/01/20, 21:14

Description

The problem is that the TcaSelectItems has no dependency to the DatabasePageRootline in case of ‘flexFormSegment’.
So the ###SITEROOT### marker is always 0 (AbstractItemProvider->processForeignTableClause) because the used $result[‘rootline’] array is always empty.

I provide a demo Extension to reproduce the bug.
The usecase is to show the editor all product records of the current site.
Product records are stored on the product detail page.

Reviews 2