Select trees not rendered on inline records
Since the change in #75519 the tree rendering of TCA
select is broken for records managed
The change was determined via Git bisecting between TYPO3 6.2.21 and 6.2.22.
See the attached test extension for an example. It adds a single
inline relation field to the
sys_category table which uses a tree for its
parent field. Try to add a relation and see that the tree of the
parent field is missing.
[BUGFIX] Initialize selectTree in inline relations
Adds a callback function when requiring the SelectTreeElement module,
so initialization is triggered every time it's required.
Adds check whether component was initialized to prevent
Fix variable name typo $overlayIcon to $overlayIconMarkup
Tested-by: Lukas Raschke <firstname.lastname@example.org>
Reviewed-by: Markus Gehrig <email@example.com>
Reviewed-by: Wouter Wolters <firstname.lastname@example.org>
Reviewed-by: Alexander Stehlik <email@example.com>
Tested-by: Alexander Stehlik <firstname.lastname@example.org>
Reviewed-by: Benni Mack <email@example.com>
Tested-by: Benni Mack <firstname.lastname@example.org>
#6 Updated by Tymoteusz Motylewski over 3 years ago
seems that the test extension is broken.
I'm getting "'Unknown column 'related_category' in 'field list'' "
lastBuiltQuery => 'SELECT uid,sys_language_uid,l10n_parent,parent,items,images,single_pid,short cut,related_category,deleted FROM sys_category WHERE uid=257 LIMIT 1'