Bug #29899
closedRTE not loading in IE when configured content css file does not exist
100%
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.
Updated by Ernesto Baschny almost 13 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.
Updated by Helmut Hummel almost 13 years ago
Nope, also IE8 does not work (IE7 compatibility is forced by the TYPO3 backend)
Updated by Helmut Hummel almost 13 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.
Updated by Chris topher almost 13 years ago
- Target version changed from 4.5.7 to 4.5.8
Updated by Helmut Hummel almost 13 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.
Updated by Stanislas Rolland almost 13 years ago
- Assignee set to Stanislas Rolland
Updated by Stanislas Rolland almost 13 years ago
- Subject changed from RTE is Broken in IE7 to RTE not loading in IE when configured content css file does not exist
Updated by Stanislas Rolland almost 13 years ago
Will fallback to default contentCSS file when the configured file does not exist.
Updated by Mr. Hudson almost 13 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
Updated by Mr. Hudson almost 13 years ago
Patch set 1 of change I05e4cf6dfe3994421ab240c0737663a620a34ed1 has been pushed to the review server.
It is available at http://review.typo3.org/6651
Updated by Mr. Hudson almost 13 years ago
Patch set 1 of change I7377daaee8443b0cbf8e2515d34316a278c8ec06 has been pushed to the review server.
It is available at http://review.typo3.org/6652
Updated by Stanislas Rolland almost 13 years ago
Please test this change: http://review.typo3.org/6652
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
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
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
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
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.
Updated by Stanislas Rolland over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a5546eb78f5ee12de860a529783662c49a6fd4cd.
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.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed