Project

General

Profile

Actions

Bug #40883

closed

t3editor alerts [object Object] in Chrome while saving

Added by Bernd Niehues over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
t3editor
Target version:
Start date:
2012-09-13
Due date:
% Done:

0%

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

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

Actions #1

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.

Actions #2

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?

Actions #3

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?

Actions #4

Updated by Michael Stucki over 10 years ago

  • Project changed from 75 to TYPO3 Core
Actions #5

Updated by Michael Stucki over 10 years ago

  • Category set to t3editor
Actions #6

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

Actions #7

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF