[TYPO3] Use of RTE in FCE leads to logout

Sander van Gelderen mail at sandervangelderen.nl
Sun Sep 7 22:05:27 CEST 2008


Yes, that does it of course!

Now I have 4.3 already :)

Thanks,

Sander

Dmitry Dulepov [typo3] schreef:
> Hi!
> 
> Sander van Gelderen wrote:
>> I did not succeed in applying your patch, I get following output:
>>
>> (23:25:54) [typo3_src-4.2.0] patch -p0 <8232_wizard_and_display.patch
>> patching file typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php
>> Hunk #1 succeeded at 447 (offset 16 lines).
>> Hunk #2 FAILED at 460.
>> Hunk #3 FAILED at 474.
>> 2 out of 3 hunks FAILED -- saving rejects to file 
>> typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php.rej
>> patching file typo3/sysext/rtehtmlarea/pi2/class.tx_rtehtmlarea_pi2.php
>> Hunk #1 FAILED at 308.
>> 1 out of 1 hunk FAILED -- saving rejects to file 
>> typo3/sysext/rtehtmlarea/pi2/class.tx_rtehtmlarea_pi2.php.rej
>>
>> I have examined the contents of the patch, and find the line numbers 
>> do not match.
> 
> Yes, this is possible. Develop continues and lines shift.
>> I also see other stuff I don't understand, for instance on line 34 of 
>> the patchfile I do not see a '+', so I think this line would go 
>> untouched:
> 
> That's right.
> 
>> <textarea id="RTEarea' . $textAreaId . '" 
>> name="'.htmlspecialchars($PA['itemFormElName']).'" 
>> style="'.t3lib_div::deHSCentities(htmlspecialchars($this->RTEdivStyle)).'">'.t3lib_div::formatForTextarea($value).'</textarea> 
>>
>>
>> But in my class.tx_rtehtmlarea_base.php file on line 476 I have this:
>>
>> <textarea id="RTEarea'.$this->TCEform->RTEcounter.'" 
>> name="'.htmlspecialchars($PA['itemFormElName']).'" 
>> style="'.t3lib_div::deHSCentities(htmlspecialchars($this->RTEdivStyle)).'">'.t3lib_div::formatForTextarea($value).'</textarea> 
>>
>>
>> It seems obvious this line should change too, to use the new 
>> $textAreaId variable.
>>
>> I do not have much experience using patches, maybe I have made some 
>> mistake?
> 
> Just get SVN version of TYPO3 and try it. The patch is already included.
> 


More information about the TYPO3-english mailing list