Project

General

Profile

Actions

Bug #75494

closed

Suggest wizard not working in flexform array element when not the last field

Added by KJ Kooistra over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-04-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

See attached file for example configuration. The responsible code can be found in TYPO3\CMS\Backend\Form\Element\SuggestElement::getNestedDsFieldConfig().

The current situation is as follows:
  1. The foreach loop reaches the settings.subelements field.
  2. The method is called recursively for the subelements item configuration.
  3. It returns the field configuration for the nested content field, which is required for the suggest.
  4. The foreach loop continues with the settings.check field, overwriting the field configuration with an empty array.

To fix this a break should be added at step 3 if configuration is returned (not empty array).


Files

flexform.xml (1.18 KB) flexform.xml KJ Kooistra, 2016-04-11 11:22

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #48474: Suggest Wizard doesn't work properly when inside Flexform repeating elementsClosed2013-05-23

Actions
Actions #1

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47646

Actions #2

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47655

Actions #3

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47655

Actions #4

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47655

Actions #5

Updated by Gerrit Code Review over 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47655

Actions #6

Updated by Anonymous over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF