Project

General

Profile

Actions

Bug #83747

closed

"Select & upload files" does not work for FAL in flexform

Added by Armin Vieweg about 6 years ago. Updated over 5 years ago.

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

2018-02-01_0935.png (8.04 KB) 2018-02-01_0935.png Armin Vieweg, 2018-02-01 09:35

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #81812: Drag and drop file upload is not working in DCE file upload fields (ie. fields using flexforms)ClosedMarkus Klein2017-07-06

Actions
Actions

Also available in: Atom PDF