Project

General

Profile

Actions

Bug #17484

closed

RTEhtmlarea is not show in child records if parent has no RTE

Added by Rens Admiraal over 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-07-18
Due date:
% Done:

0%

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

Description

When you create a child record on a parent without a field on which RTE is enabled, the RTE does not load in the child record.
When the record is saved, the page reloades and the editor appears.

Problem is solved when the parent record also has a field on which the RTE is enabled.

Problem does occur on Typo3 4.1.2

I've attached an extension which shows the problem. The parent items with the white icon don't work, the items with the purple icon do work.

(issue imported from #M5994)


Files

T3X_utestirrerte-0_0_0-z-200707181312.t3x.bin (16.7 KB) T3X_utestirrerte-0_0_0-z-200707181312.t3x.bin Administrator Admin, 2007-07-18 13:12
0005994_4-1.patch (12.9 KB) 0005994_4-1.patch Administrator Admin, 2008-01-06 11:46
0005994_4-1_post.patch (2.61 KB) 0005994_4-1_post.patch Administrator Admin, 2008-01-06 11:46
0005994_trunk.patch (11.5 KB) 0005994_trunk.patch Administrator Admin, 2008-01-06 11:47

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17119: RTE in child elements overwrites field in parent elementClosedOliver Hader2007-05-03

Actions
Related to TYPO3 Core - Bug #17495: IRRE Ajax does't work if date2cal extension is installedClosed2007-08-03

Actions
Actions #1

Updated by Oliver Hader over 17 years ago

Here we go! This patch was a f**king hard one...
The first instance of RTEhtmlarea sets/loads a portion of JavaScript (external and inline). The external ones added by AJAX is an easy one. But the inline things that normally appear somewhere in the HTML in the global namespace was tricky...

Please test this patch with your IRRE extensions!

Actions #2

Updated by Steffen Kamper over 17 years ago

Hi Oliver,

very good news.
i tried to apply the patch (4.2 dev svn) but told me, that the patch is outdated - doesn't match - appears with the t3lib_div.
Can you check that?

Actions #3

Updated by Oliver Hader over 17 years ago

Ah yes, thanks for the hint. The patch was created against the latest revision of the 4.1 branch (TYPO3 4.1.3-dev). The attached patch "0005994_v4_trunk.patch" is created against SVN Trunk (TYPO3 4.2-dev). The difference was a offset of 2 lines.

Actions #4

Updated by Steffen Kamper over 17 years ago

now it's perfect :-)

And i confirm, that in my case the rte is initialized right!
So all is working fine for me now.

Thank you for your work and time (again) !!!

Actions #5

Updated by Oliver Hader about 17 years ago

The new patch (v6) puts the parse method to t3lib_TCEforms_inline and uses t3lib_parsehtml. Please test it...

Actions #6

Updated by Oliver Hader about 17 years ago

Sorry, v6 had a "}" at the wrong place. This byte was fixed in v7... ;-)

Actions #7

Updated by Oliver Hader about 17 years ago

Again a small update...
Am I getting to old for this? ;-)

Actions #8

Updated by Oliver Hader almost 17 years ago

FYI: Committed to TYPO3_4-1 (rev. 2807)
Still pending for Trunk since some changes are required due to recent changes in RTEhtmlarea.

Actions #9

Updated by Oliver Hader almost 17 years ago

FYI: Committed to SVN
  • Trunk (was pending until now, rev. 2866) -- for TYPO3 4.2.0-alpha3
  • TYPO3_4-1 (just post-cleanup, rev. 2867) -- for TYPO3 4.1.6
Actions

Also available in: Atom PDF