Actions
Bug #70473
closedFlexform : select field using rendermode=tree in a section
Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-10-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If you define a select field as renderMode=Tree in a section of a flexform, there's an error :
Invalid argument supplied for foreach() in typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php line 51
My solution was :
line 51
- $selectedNodes = ($parameterArray['itemFormElValue']); + $selectedNodes = (empty($parameterArray['itemFormElValue'])) ? array() : $parameterArray['itemFormElValue'];
But I don't know why this array was empty ...
Updated by Antoine Bouet almost 9 years ago
- Assignee set to Xavier Perseguers
Same problem if I put in the page a plugin which have a categories tree in this flexform.
My solution works but it's just a temporary solution ...
Updated by Xavier Perseguers almost 9 years ago
- Assignee deleted (
Xavier Perseguers)
Removing me from the assignment since there is no reason I should be forced to work on it :)
Updated by Antoine Bouet almost 9 years ago
Sorry for that, I didn't know the official workflow for the bugs of the core :)
Updated by Morton Jonuschat almost 9 years ago
- Status changed from New to Accepted
Updated by Morton Jonuschat almost 9 years ago
- Status changed from Accepted to In Progress
- Assignee set to Morton Jonuschat
Updated by Gerrit Code Review almost 9 years ago
- Status changed from In Progress to Under Review
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/44431
Updated by Morton Jonuschat almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset bd2445bd7a494acf6e12b8706a197e177e2b973a.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed
Actions