Bug #55457

RTE on first new IRRE record keeps loading in IE

Added by Leon de Rijke over 5 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
Start date:
2014-01-30
Due date:
% Done:

100%

TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In our extension we have a record with the possibility to add tt_content elements inline (IRRE). However, on the first content element you add, in IE8/9/10 the RTE (rtehtmlarea) just keeps loading with the message:

The editor is being loaded. Please wait...

After saving the record with the newly created content element the RTE loads correctly. The problem only occurs in IE8/9/10. The problem doesn't occur in Chrome and Firefox (tested on OS X).

In other, possibly related, issues there are clues for rewrite rules and custom RTE CSS files, but we don't use both of them.

Part of the TCA configuration for this record:

'content' => array(
    'exclude' => 0,
    'label' => 'LLL:EXT:<extkey>/Resources/Private/Language/locallang_db.xlf:content',
    'config' => array(
        'type' => 'inline',
        'foreign_table' => 'tt_content',
        'size' => 1,
        'minitems' => 0,
        'maxitems' => 1000,
        'appearance' => array(
            'collapseAll' => 0,
            'levelLinksPosition' => 'top',
            'showSynchronizationLink' => 1,
            'showPossibleLocalizationRecords' => 1,
            'showAllLocalizationLink' => 1
        ),
    ),
),

Related issues

Related to TYPO3 Core - Bug #62967: xhtml cleaning broken for javascript Closed 2014-11-15

Associated revisions

Revision bb56fba0 (diff)
Added by Stanislas Rolland over 5 years ago

[BUGFIX] RTE on first new IRRE record keeps loading in IE

Problem: IE raises a syntax error when it encounters html comments in
the JavaScript code. The html comments are added by the page renderer.
Solution: There is no need for the page renderer to wrap inline
javascript as html comments.

Resolves: #55457
Releases: 6.2, 6.1
Change-Id: Iae180a73778ca3bb1c9934c887315b969888b10d
Reviewed-on: https://review.typo3.org/27624
Reviewed-by: Oliver Klee
Tested-by: Leon de Rijke
Tested-by: Simon Ouellet
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters

Revision 472a2f2c (diff)
Added by Stanislas Rolland over 5 years ago

[BUGFIX] RTE on first new IRRE record keeps loading in IE

Problem: IE raises a syntax error when it encounters html comments in
the JavaScript code. The html comments are added by the page renderer.
Solution: There is no need for the page renderer to wrap inline
javascript as html comments.

Resolves: #55457
Releases: 6.2, 6.1
Change-Id: Iae180a73778ca3bb1c9934c887315b969888b10d
Reviewed-on: https://review.typo3.org/28130
Reviewed-by: Stanislas Rolland
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters

Revision b2597fd4 (diff)
Added by Stanislas Rolland about 5 years ago

[BUGFIX] RTE on first new IRRE record keeps loading in IE

Problem: IE raises a syntax error when it encounters html comments in
the JavaScript code. The html comments are added by the page renderer.
Solution: There is no need for the page renderer to wrap inline
javascript as html comments.

Resolves: #55457
Releases: 6.2, 6.1, 4.5
Change-Id: Iae180a73778ca3bb1c9934c887315b969888b10d
Reviewed-on: http://review.typo3.org/30240
Reviewed-by: Oliver Hader <>
Tested-by: Oliver Hader <>

History

#1 Updated by Stanislas Rolland over 5 years ago

The inline js is not loaded or not executed.

#2 Updated by Leon de Rijke over 5 years ago

The inline js is not loaded or not executed.

Do you have an idea what's causing this?

#3 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

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

#4 Updated by Stanislas Rolland over 5 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to Backend API
  • Assignee set to Stanislas Rolland
  • Target version set to next-patchlevel
  • PHP Version set to 5.4

#5 Updated by Stanislas Rolland over 5 years ago

Please test this change: https://review.typo3.org/#/c/27624/
and give your vote in Gerrit.

#6 Updated by Simon Ouellet over 5 years ago

+1 :)
This patch is fixing my >= ie8 bug.

My case:
tx_news (with the bodytext field disabled via TCA or TSCONFIG)
The rte doesn't load inside an IRRE record.

#7 Updated by Stanislas Rolland over 5 years ago

Simon Ouellet wrote:

+1 :)
This patch is fixing my >= ie8 bug.

My case:
tx_news (with the bodytext field disabled via TCA or TSCONFIG)
The rte doesn't load inside an IRRE record.

Please give your vote in Gerrit: https://review.typo3.org/#/c/27624/

#8 Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28130

#9 Updated by Stanislas Rolland over 5 years ago

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

#10 Updated by Robert Vock over 5 years ago

Will this be fixed in 4.7 or 4.5 as well?

#11 Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30240

#12 Updated by Stanislas Rolland over 5 years ago

Robert Vock wrote:

Will this be fixed in 4.7 or 4.5 as well?

Please test this change for TYPO3 4.5:
https://review.typo3.org/30240

#13 Updated by Stanislas Rolland about 5 years ago

  • Status changed from Under Review to Resolved

#14 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF