Bug #41063
closedRTE: TYPO3 4.7.4 RTE doesn't load in FE because of "console" in appendToLog
0%
Description
Hi,
With TYPO3 4.7.4 the RTE doesn't load in IE 7,8,9 in "Frontend Edit".
Steps to reproduce
- download IntrodutionPackage 4.7.4 and install
- in ExtManager install feedit
- set config.admPanel = 1 in MainTemplate at root
- open in a site and activate in AdminPanel "Display edit panels" and "Display edit icons"
- edit an text Element with IE
IE9 is only showing the loading screen of RTE but no Information of an error, use IE8 to get a Error Message: "Object expected at line 865"
This is in htdocs/intro474/typo3/sysext/rtehtmlarea/htmlareahtmlarea.js the function
appendToLog: function (editorId, objectName, functionName, text, type) {
var str = 'RTE[' + editorId + '][' + objectName + '::' + functionName + ']: ' + text;
if (typeof(type) === 'undefined') {
var type = 'info';
}
if (typeof(console) !== 'undefined' && typeof(console) === 'object') {
// If console is TYPO3.Backend.DebugConsole, write only error messages
if (Ext.isFunction(console.addTab)) {
if (type === 'error') {
console[type](str);
}
} else {
-----> this is line 865 console[type](str);
}
}
}
Updated by Oliver Hader about 12 years ago
- Status changed from New to Accepted
- PHP Version set to 5.3
Without checking it in the source code, the else
part should check whether console[type]
exists at all.
Updated by Oliver Hader about 12 years ago
Feel free to hand in a patch using Git - see http://wiki.typo3.org//Git if you need a start-up guid.
If you need further feedback, don't hesitate to get back to me directly via mail to oliver(at)typo3(dot)org
Updated by Wouter Wolters about 12 years ago
Guess this is already in review: https://review.typo3.org/#/c/14311/
See http://forge.typo3.org/issues/40558
Updated by Sven Juergens about 12 years ago
hey Wouter Wolters,
You right, that is the same Bug. I didn't find it before, so this can be close or marked as duplicate.
@Oliver, yes i should have a look at git :) and thanks for your offer to contact you
Updated by Jigal van Hemert about 12 years ago
- Status changed from Accepted to Closed
Closed as duplicate