Bug #18751
closed
JavaScript error in TBE_EDITOR causes login expired dialog
Added by Anders Viskum over 16 years ago.
Updated about 16 years ago.
Description
After upgrading from Typo3 4.1 to 4.2.0 we are getting login expired-errors:
"Your login has probably expired. Do you want to refresh now?"
The error occurs in different situations, but often when changing the template for a site..
(issue imported from #M8336)
Files
For me this only happens, if the RTE is enabled
Not reproducable for me. Possibly browser-dependent
Could you please give a step by step example how it can be reproduced on your side?
Did you experience any JavaScript errors?
I get the error every time I am using the plugin daimi_event and editing an event. It happens sometimes then editing a template or text element on a site, but this is not reproduceable.
The javascript errors:
document[TBE_EDITOR.formname][elementName] has no properties
in jsfunc.tbe_editor.js line 197
We have tested in both firefox, IE and Safari...
we had such an error with cal in the past. This was result of creating a dummy BE_USER to do some actions, so i guess that the problem belongs to the extension you use.
Please test the attached patch which first checks whether the form field exists and then accesses the value property.
It seems that it is a misconfiguration in your extension (a field which is marked to be required but not rendered at all in the forms view).
Thx a lot Oliver.. the patch fixed the problem. Are you updating the Typo3-src with the fix?
sure, RFC is in core list.
Committed to SVN:
- TYPO3_4-2 (rev. 3743)
- Trunk (rev. 3744)
Also available in: Atom
PDF