Project

General

Profile

Actions

Bug #81022

closed

SITEROOT marker is replaced with 0 when used in flexform

Added by Sascha Nowak over 7 years ago. Updated over 4 years ago.

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

100%

Estimated time:
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.


Files

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

Also available in: Atom PDF