Project

General

Profile

Actions

Bug #23492

closed

t3lib_TCEforms_inline registers superfluous nested level when renderFieldsOnly is set

Added by Thomas Maroschik about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-09-01
Due date:
% Done:

0%

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

Description

In my case i have got an database entry which contains irre child entries configured that way:

'description' => array(
'exclude' => '1',
'label' => 'Description goes here',
'config' => array(
'type' => 'inline',
'foreign_table' => 'TEXT',
'maxitems' => '2',
'renderFieldsOnly' => '1',
),
),

When I create a new TEXT item containing the rte it does not get loaded and keeps telling me "The editor is being loaded. Please wait...". RTE debug messages are the following:

The editor is being loaded. Please wait...
[HTMLArea::init]: Editor url set to: sysext/rtehtmlarea/htmlarea/
[HTMLArea::init]: Editor skin CSS set to: sysext/t3skin/rtehtmlarea/htmlarea.css?1283150024
[HTMLArea::init]: Editor content skin CSS set to: sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css?1283150024
[HTMLArea::initEditor]: Initializing editor with editor Id: data[tx_traveldb_domain_model_text]2[text].
[HTMLArea.Editor::registerPlugin]: Plugin EditorMode was successfully registered.
[HTMLArea.Config::registerHotKey]: A hotkey with key b was registered for toolbar item Bold.
[HTMLArea.Config::registerHotKey]: A hotkey with key i was registered for toolbar item Italic.
[HTMLArea.Editor::registerPlugin]: Plugin DefaultInline was successfully registered.
[HTMLArea.Config::registerHotKey]: A hotkey with key 1 was registered for toolbar item FormatBlock.
[HTMLArea.Config::registerHotKey]: A hotkey with key 2 was registered for toolbar item FormatBlock.
[HTMLArea.Config::registerHotKey]: A hotkey with key 3 was registered for toolbar item FormatBlock.
[HTMLArea.Config::registerHotKey]: A hotkey with key 4 was registered for toolbar item FormatBlock.
[HTMLArea.Config::registerHotKey]: A hotkey with key 5 was registered for toolbar item FormatBlock.
[HTMLArea.Config::registerHotKey]: A hotkey with key 6 was registered for toolbar item FormatBlock.
[HTMLArea.Config::registerHotKey]: A hotkey with key n was registered for toolbar item FormatBlock.
[HTMLArea.Config::registerHotKey]: A hotkey with key TAB was registered for toolbar item Indent.
[HTMLArea.Config::registerHotKey]: A hotkey with key SHIFT-TAB was registered for toolbar item Outdent.
[HTMLArea.Editor::registerPlugin]: Plugin BlockElements was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin BlockStyle was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin CharacterMap was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin TextStyle was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin TYPO3Link was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin TextIndicator was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin FindReplace was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin RemoveFormat was successfully registered.
[HTMLArea.Config::registerHotKey]: A hotkey with key 0 was registered for toolbar item CleanWord.
[HTMLArea.Editor::registerPlugin]: Plugin DefaultClean was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin TableOperations was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin AboutEditor was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin ContextMenu was successfully registered.
[HTMLArea.Config::registerHotKey]: A hotkey with key z was registered for toolbar item Undo.
[HTMLArea.Config::registerHotKey]: A hotkey with key y was registered for toolbar item Redo.
[HTMLArea.Editor::registerPlugin]: Plugin UndoRedo was successfully registered.
[HTMLArea.Editor::registerPlugin]: Plugin CopyPaste was successfully registered.

Firebug told me the following:
Ext.get(element) is null
http://localhost/test/typo3temp/compressor/ext-all-debug-ed2fcc9d4685d335c158cd622c4f01c0.js
Backtrace:
Line 4577
data(Object { name="el"}, Object { name="key"}, Object { name="value"})ext-al...01c0.js (Zeile 4577)
unmask()ext-al...01c0.js (Zeile 7540)
onEnable()ext-al...01c0.js (Zeile 24269)
enable()ext-al...01c0.js (Zeile 15838)
enable()ext-al...01c0.js (Zeile 47431)
handleMouseUp(Object { name="e"})ext-al...01c0.js (Zeile 28536)
h(Object { name="e"})ext-al...01c0.js (Zeile 2853)
[Break on this error] return c[key];

I think the RTE somehow refers to an element that gets rendered in regular IRRE configuration but with the option renderFieldsOnly on not.

(issue imported from #M15622)


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23776: RTE in IRRE-elements not properly initialized in TYPO3 4.4.4ClosedStanislas Rolland2010-10-18

Actions
Actions

Also available in: Atom PDF