Bug #18751
closedJavaScript error in TBE_EDITOR causes login expired dialog
0%
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
Updated by Andy over 16 years ago
For me this only happens, if the RTE is enabled
Updated by Dmitry Dulepov over 16 years ago
Not reproducable for me. Possibly browser-dependent
Updated by Oliver Hader over 16 years ago
Could you please give a step by step example how it can be reproduced on your side?
Did you experience any JavaScript errors?
Updated by Anders Viskum over 16 years ago
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...
Updated by Steffen Kamper over 16 years ago
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.
Updated by Oliver Hader over 16 years ago
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).
Updated by Anders Viskum over 16 years ago
Thx a lot Oliver.. the patch fixed the problem. Are you updating the Typo3-src with the fix?
Updated by Oliver Hader over 16 years ago
- TYPO3_4-2 (rev. 3743)
- Trunk (rev. 3744)