Project

General

Profile

Actions

Bug #25286

closed

RTE is not loading when using eval required on input field of flexform

Added by Christian Clemens about 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2011-03-09
Due date:
% Done:

0%

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

Description

Problem:
We developed a flexible-CE-object some years ago giving an editor the possibilty to add 0 to x links via a TV section. This flexible-CE-object also uses an RTE field – outside the section. And this RTE field doesn’t work any longer - I think since we upgraded from TYPO3 4.2.x to 4.4.x.

It permanently shows: „The editor is being loaded. Please wait...“. The debug mode of RTE only shows:
[HTMLArea::init]: Editor url set to: sysext/rtehtmlarea/htmlarea/
[HTMLArea::init]: Editor skin CSS set to: sysext/t3skin/rtehtmlarea/htmlarea.css?1298470801
[HTMLArea::init]: Editor content skin CSS set to: sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css?1298470801

In normal content elements (e.g. text or image with text) the problem doesn’t occur.

Reason of this problem:
First a thought this problem is produced by the section - if I delete section, RTE works perfectly again. I asked RTE-expert Stanislas for help. He says:
"This is not a RTE issue. A js error is raised in jsfunc.tbe_editor.js while checking for required elements. The error interrupts inline JavaScript execution before initialization of the RTE is invoked. This explains why the RTE is not loading."

To get a working RTE I don't have to delete the whole section, it's only necessary to delete "<eval>trim, required</eval>" which is used in one of the input fields in the section. Without "required" all works fine again!
Don't tested if this issue occurs only in sections.

Attached the XML-code of the data structure. Kine 517 is the "problem-line" - it is commented out.
(issue imported from #M17899)


Files

fce.xml (17.3 KB) fce.xml Administrator Admin, 2011-03-09 10:36

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #21650: Cannot set an RTE field as requiredClosed2009-11-23

Actions
Related to TYPO3 Core - Feature #16056: RTE can not be set as requiredClosedMichael Scharkow2006-04-14

Actions
Actions #1

Updated by Tolleiv Nietsch about 13 years ago

Rendering Flexforms is done in the Core not in TemplaVoila

Actions #2

Updated by Stanislas Rolland almost 13 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)
  • Target version deleted (0)
Actions #3

Updated by Stanislas Rolland over 12 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to FormEngine aka TCEforms
Actions #4

Updated by Alexander Opitz over 9 years ago

  • Status changed from New to Needs Feedback
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.7)?

Actions #5

Updated by Christian Clemens over 9 years ago

The TYPO3 version of our client is still 4.5.x. I think the problem is solved or no longer interesting for our client.

Actions #6

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to Closed

Thanks for your feedback.

Actions

Also available in: Atom PDF