Project

General

Profile

Actions

Bug #18967

closed

RTE not loading with TemplaVoila FCEs

Added by Kai Blaschke almost 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-06-16
Due date:
% Done:

0%

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

Description

When using TemplaVoila Flexible Content Elements which contains RTE fields, HTMLArea produces a JavaScript error in HTMLArea.initEditor while loading. The error is caused by invoking the function before any RTE flexform field is available in the DOM. As the browser then stops executing any additional scripts on the page, no contents are being filled in the flexforms, thus making it impossible to edit the contents.

I created a quick workaround, and added a check to htmlarea.js whether the requested IDs are available or not, and if they aren't, the init function exits before trying to set any properties of the "undefined" object. After applying the patch, the page loads properly.

- Error first appeared after update to TYPO3 4.2.0
- Tested in Firefox, always reproducible with current browser version, TYPO3 4.2.1 and TemplaVoila 1.3.6 with FCEs using sections.
- Patch applies to typo3_src/typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
(issue imported from #M8729)


Files

htmlarea.js.diff (1.79 KB) htmlarea.js.diff Administrator Admin, 2008-06-16 17:18

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #18690: Creating and editing of fields, forms, etc. in FCE's is impossible if there is a section insideClosedDmitry Dulepov2008-04-24

Actions
Actions #1

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF