Project

General

Profile

Actions

Bug #39297

closed

Setting access on a FCE fails

Added by Mads Jensen almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-07-26
Due date:
% Done:

0%

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

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

core.patch (2.42 KB) core.patch Workaround patch. Mads Jensen, 2012-07-26 15:58
class.ux_t3lib_tceforms.php (10.1 KB) class.ux_t3lib_tceforms.php Mads Jensen, 2012-07-30 17:27
Actions #1

Updated by Mads Jensen almost 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.

Actions #2

Updated by Mads Jensen almost 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.

Actions #3

Updated by Mads Jensen over 11 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.

Actions #4

Updated by Stefan Galinski over 11 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF