Project

General

Profile

Actions

Bug #29899

closed

RTE not loading in IE when configured content css file does not exist

Added by Helmut Hummel over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2011-09-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After the TYPO3 Update to Version 4.5.6 RTE does not work any more in IE7.
Only the loading mask is shown.

Browser and RTE Caches have been cleared.

Downgrading to 4.5.5 fixed the problem.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #32625: Custom RTE-styles brokenClosedStanislas Rolland2011-12-16

Actions
Actions #1

Updated by Ernesto Baschny over 12 years ago

With IE8 in IE7 compatibility mode it works. Helmut, does this works for you? I have no customer with IE7 "at hand" to reproduce the problem.

Actions #2

Updated by Helmut Hummel over 12 years ago

Nope, also IE8 does not work (IE7 compatibility is forced by the TYPO3 backend)

Actions #3

Updated by Helmut Hummel over 12 years ago

  • PHP Version set to 5.3

Checked again with IE7 and IE8 on a different PC. Both did not work.

Maybe a side effect with TemplaVoila or any other extension?

Any hints how I can debug this? There's no JS-Error message shown.

Actions #4

Updated by Chris topher over 12 years ago

  • Target version changed from 4.5.7 to 4.5.8
Actions #5

Updated by Helmut Hummel over 12 years ago

I found the problem.

Add the following line to pageTS config:

RTE.default.contentCSS = fileadmin/templates/styles/rte.css

If the file is not there or empty, the RTE does not load in IE.

Of course having this line there without a file does not make sense, but still it should not happen that the RTE does not load in such a case.

Actions #6

Updated by Stanislas Rolland over 12 years ago

  • Assignee set to Stanislas Rolland
Actions #7

Updated by Stanislas Rolland over 12 years ago

  • Subject changed from RTE is Broken in IE7 to RTE not loading in IE when configured content css file does not exist
Actions #8

Updated by Stanislas Rolland over 12 years ago

Will fallback to default contentCSS file when the configured file does not exist.

Actions #9

Updated by Mr. Hudson over 12 years ago

  • Status changed from New to Under Review

Patch set 1 of change I18fe77f5fad13a244e4dc8570bbdf940b0721fcc has been pushed to the review server.
It is available at http://review.typo3.org/6650

Actions #10

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change I05e4cf6dfe3994421ab240c0737663a620a34ed1 has been pushed to the review server.
It is available at http://review.typo3.org/6651

Actions #11

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change I7377daaee8443b0cbf8e2515d34316a278c8ec06 has been pushed to the review server.
It is available at http://review.typo3.org/6652

Actions #12

Updated by Stanislas Rolland over 12 years ago

Please test this change: http://review.typo3.org/6652

Actions #13

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6650

Actions #14

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/6651

Actions #15

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/6652

Actions #16

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/6652

Actions #17

Updated by Stanislas Rolland over 12 years ago

Helmut Hummel wrote:

I found the problem.

Add the following line to pageTS config:

RTE.default.contentCSS = fileadmin/templates/styles/rte.css

If the file is not there or empty, the RTE does not load in IE.

Of course having this line there without a file does not make sense, but still it should not happen that the RTE does not load in such a case.

Will test for file existence and for zero file size. If the file does not exist or is of zero size, will fallback to default css file. However, the error may still occur if the file is not empty but contains no style import and no style rule of any sort...

The behaviour is somewhat different in TYPO3 4.6+. The RTE will load, but an error is posted on the console.

This client-side behaviour is not easily backported to 4.5.

Actions #18

Updated by Stanislas Rolland over 12 years ago

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

Updated by Peter Linzenkirchner over 12 years ago

It seems that there is now an error in TYPO3 version 4.5.9 - the rte did not find the css-file with a path like this: RTE.default.contentCSS = fileadmin/templates/styles/rte.css but only with a path like this: RTE.default.contentCSS = /fileadmin/templates/styles/rte.css - an absolute one.

Actions #20

Updated by Stefan Neufeind over 12 years ago

Please see #32625

Actions #21

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF