Actions
Bug #83747
closed"Select & upload files" does not work for FAL in flexform
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2018-02-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
When using a FAL/inline configuration inside of flexform, the "Select & upload files" button has no functionality.
Also the console throws errors:
Uncaught Error: Syntax error, unrecognized expression: #data-1-tt_content-NEW5a72d63c613d4814805180-pi_flexform---data---sheet$1tabGeneral---lDEF---settings$1test---vDEF
It seems, that the $1 are the problem, which just occure in 8.7.
In 7.6 those values are splitted by dots. e.g. "sheet.tabGeneral"
I guess this change broke it:
File: typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
Before:
data-dropzone-target="#' . htmlspecialchars($this->inlineStackProcessor->getCurrentStructureDomObjectIdPrefix($this->data['inlineFirstPid'])) . '"
After:
data-dropzone-target="#' . htmlspecialchars(StringUtility::escapeCssSelector($currentStructureDomObjectIdPrefix)) . '"
Files
Actions