Bug #81022

SITEROOT marker is replaced with 0 when used in flexform

Added by Sascha Nowak over 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2017-04-26
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

nxflexformbug.tar.gz - Demo extension to reproduce the bug (9.96 KB) Sascha Nowak, 2017-04-26 11:43

Also available in: Atom PDF