Bug #40883
closedt3editor alerts [object Object] in Chrome while saving
0%
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
Updated by Oliver Hader over 11 years ago
- 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.
Updated by Florian Seirer over 11 years ago
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?
Updated by Martin Muzatko about 11 years ago
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?
Updated by Michael Stucki over 10 years ago
- Project changed from 75 to TYPO3 Core
Updated by Georg Ringer over 9 years ago
- 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
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed