Bug #78628
closedStory #69617: FormEngine bugs
selectTree pageTsConfig addItems broken
100%
Description
TCEFORM.tx_styleguide_elements_select.select_tree_1.addItems.staticFromPageTs = 12345
or
TCEFORM.pages.categories.addItems.staticFromPageTs = 12345
does not work anymore since patch for #70956
moving the line
$fieldConfig['config']['items'] = $this->addItemsFromPageTsConfig($result, $fieldName, $fieldConfig['config']['items']);
up again, effectively reverting the change from #70956 with patch https://review.typo3.org/#/c/44570/4, and the additional ts config item is displayed in 7.6 again. This needs some thoughts on the correct solution in 7.6, then.
However, the issue is more severe in master: it seems the svg tree doesn't handle 'multiple roots' at all at the moment, see SvgTree.js ~197:
if (Array.isArray(json)) {
//little hack, so we can use json structure prepared by ExtJsJsonTreeRenderer
json = json0;
}
with additional items, there is [0] and [1] and maybe more. I guess, the other 'static items' eg. from TCA ['config']['items'] won't work either.
Files
Updated by Gerrit Code Review about 8 years ago
- Status changed from New 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/50565
Updated by Gerrit Code Review about 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/50565
Updated by Gerrit Code Review about 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/50565
Updated by Gerrit Code Review about 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/50565
Updated by Christian Kuhn about 8 years ago
- File tree-viewport-2.png tree-viewport-2.png added
Updated by Gerrit Code Review about 8 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50565
Updated by Gerrit Code Review about 8 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50565
Updated by Gerrit Code Review about 8 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50565
Updated by Gerrit Code Review about 8 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50565
Updated by Gerrit Code Review about 8 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50565
Updated by Frank Nägler about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8fad94bc5af2fb3f085c6e0d16c790cac7c3727b.