Bug #39297
closedSetting access on a FCE fails
0%
Description
Not sure if this is a core or a TemplaVoilá bug, but I fixed it by patching the core, so I'll post it here.
When trying to set access restrictions on a FCE, it fails with a JS error saying 'formObj[fName + "_list"].type is undefined'. It seems that the fe_group fields is becoming a JS nodelist somewhere, but only that field - other multiple selects in the same form works as expected.
I've made a, somewhat crude, patch that fixes the problem for now, but as stated, I'm not sure it actually is a core bug (or that fixing the symptom is the right way to go, for that matter).
The patch is made for v4.7.2, but the bug exists in v4.7.1 as well.
Files
Updated by Mads Jensen over 12 years ago
Forget the patch - it fixed the problem on FCEs but made just about every where else, usergroups are assigned, pop a JS alert.
Updated by Mads Jensen over 12 years ago
XCLASSing t3lib_tceforms.php like in the attached php file, seems to do the trick. Basicly it just checks the object a few more times, whenever a select box is processed.
Updated by Mads Jensen about 12 years ago
After much more debugging, it turns out to be an extension adding an extra fe_group field to another tab in the TCEForm. Somehow this wasn't an issue in TYPO3 v4.4, but I guess it has something to do with the changed palettes/types in the newer TYPO3 sources.
Please close issue.