Bug #29899

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

Added by Helmut Hummel almost 11 years ago. Updated almost 5 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

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

Actions
#1

Updated by Ernesto Baschny almost 11 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.

#2

Updated by Helmut Hummel almost 11 years ago

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

#3

Updated by Helmut Hummel almost 11 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.

#4

Updated by Chris topher almost 11 years ago

  • Target version changed from 4.5.7 to 4.5.8
#5

Updated by Helmut Hummel almost 11 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.

#6

Updated by Stanislas Rolland almost 11 years ago

  • Assignee set to Stanislas Rolland
#7

Updated by Stanislas Rolland almost 11 years ago

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

Updated by Stanislas Rolland almost 11 years ago

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

#9

Updated by Mr. Hudson almost 11 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

#10

Updated by Mr. Hudson almost 11 years ago

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

#11

Updated by Mr. Hudson almost 11 years ago

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

#12

Updated by Stanislas Rolland almost 11 years ago

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

#13

Updated by Gerrit Code Review over 10 years ago

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

#14

Updated by Gerrit Code Review over 10 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

#15

Updated by Gerrit Code Review over 10 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

#16

Updated by Gerrit Code Review over 10 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

#17

Updated by Stanislas Rolland over 10 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.

#18

Updated by Stanislas Rolland over 10 years ago

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

Updated by Peter Linzenkirchner over 10 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.

#20

Updated by Stefan Neufeind over 10 years ago

Please see #32625

#21

Updated by Riccardo De Contardi almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF