Bug #40883
closed
t3editor alerts [object Object] in Chrome while saving
Added by Bernd Niehues over 11 years ago.
Updated over 6 years ago.
Description
I've got an Javascript alert saying "[object Object]" when I tried to save my Typoscript by pressing Strg+S or using the save icon.
By disabling the t3editor and saving i've got the real related error message, which said that one of the included files was not writeable. After changing the permissions everything was fine again.
I think we should alert a message like: "File xxx is not writeable." instead of [object Object].
TYPO3 Version 4.7.4
- Status changed from New to Accepted
- Target version set to 4.6.11
The "[Object]" message is related to the XLIFF changes in TYPO3 4.6.
See file typo3/sysext/t3editor/res/jslib/t3editor.js and the alerts there
e.g. alert(T3editor.lang.errorWhileSaving);
should be alert(T3editor.lang.errorWhileSaving[0].target);
Even better, if TYPO3.l10n.localize() JavaScript method could be used here.
I can confirm this in Chrome 23 and Firefox 10 on TYPO3 4.7.7.
But I did not get an error message mentioning anything file related.
Can you tell me which files are affected?
I can confirm this problem still exists in FF19 on TYPO3 6.0.2
Still [object Object] And why does it work on save+exit?
- Project changed from 75 to TYPO3 Core
- Status changed from Accepted to Resolved
- Is Regression set to No
thanks for your issue! I can't reprodce that anymore with latest firefox/chrome in CMS7. therefore I am closing this issue. Feel free to reopen if still valid
- Status changed from Resolved to Closed
Also available in: Atom
PDF