Project

General

Profile

Actions

Bug #64713

closed

' Unexpected token }' when editing text with image CE

Added by Tymoteusz Motylewski almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2015-02-01
Due date:
% Done:

100%

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

Description

current master
1. go to page module
2. open browsers console
3. create new CE type "text" or "text with image"
4. in the console you'll see an error:


Wrap.open.js?1418209900:1 Uncaught SyntaxError: Unexpected end of input
Wrap.close.js?1418209900:2 Uncaught SyntaxError: Unexpected token }


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #62404: RTE: Split main JS script into componentsClosedStanislas Rolland2014-10-22

Actions
Related to TYPO3 Core - Task #68426: RTE: Use requireJSClosedFrank Nägler2015-07-21

Actions
Actions #1

Updated by Andreas Kienast almost 10 years ago

I can confirm this issue in Chrome 40.

Actions #2

Updated by Stanislas Rolland almost 10 years ago

Yes, the problem arises when the RTE JS files are not concatenated.

Actions #3

Updated by Stanislas Rolland almost 10 years ago

  • Status changed from New to Accepted
  • Assignee set to Stanislas Rolland
Actions #4

Updated by Tymoteusz Motylewski almost 10 years ago

you also need to have $TYPO3_CONF_VARS['BE']['debug'] set to true to reproduce it.

Actions #5

Updated by Xavier Perseguers over 9 years ago

I confirm this bug. Any idea on how to solve that? Using another "concatenated" version of the scripts when debug is on?

Actions #6

Updated by Frank Nägler over 9 years ago

Since all components are AMD modules, I think we could simply remove the wrapper files.
@Stanislas: What did you think? Could this solve the problem or did we open other issues then? It looks like that multiple instances on the same page works without the wrapper files.

Actions #7

Updated by Christian Kuhn over 9 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to 1600
Actions #8

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41853

Actions #9

Updated by Gerrit Code Review over 9 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41853

Actions #10

Updated by Frank Nägler over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF