Project

General

Profile

Actions

Bug #41063

closed

RTE: TYPO3 4.7.4 RTE doesn't load in FE because of "console" in appendToLog

Added by Sven Juergens over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-09-19
Due date:
% Done:

0%

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

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);
}
}
}

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #40558: RTE is not loading in Internet Explorer 8, when used with feeditClosedStanislas Rolland2012-09-03

Actions
Actions #1

Updated by Oliver Hader over 11 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.

Actions #2

Updated by Oliver Hader over 11 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

Actions #4

Updated by Sven Juergens over 11 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

Actions #5

Updated by Jigal van Hemert over 11 years ago

  • Status changed from Accepted to Closed

Closed as duplicate

Actions

Also available in: Atom PDF