[TYPO3] TV FCE issue

Jeff Segars jsegars at alumni.rice.edu
Sun Sep 21 22:13:57 CEST 2008


Simon Browning wrote:
> Jeff Segars wrote:
>> Benjamin Mack wrote:
>>> Hey Simon,
>>>
>>> Jeff and the WEC team had the exact same thing last week on a server. 
>>> We found out that it was related to an update of libxml2. After 2 
>>> days of debugging, Jeff found the reason. Anyway, there was a 
>>> workaround of TYPO3 to /not/ use this strange behaviour by putting 
>>> <[!CDATA[-- around the fields.
>>>
>>> @Jeff: Looks like we need our "workaround" pretty soon and in time 
>>> for 4.2.2. Could we enable this "workaround" only when we know it's 
>>> not working without the CDATA?
>>>
>>> @Simon: Unless Jeff won't share the exact solution here (although I 
>>> think he will ;-)) contact him about the issue directly, I'd say. And 
>>> try to not save anything in the meantime.. :)
>>
>> I opened up a bug report and included the patch last week at [1].
>>
>> The best solution short term solution for an existing seems to be 
>> recompiling PHP with expat support instead of libxml.  That's at 
>> leaset how we fixed it for the site having problems.
>>
>> [1] http://bugs.typo3.org/view.php?id=9359
> 
> Cool.
> 
> Ok, so I see that the patch modifies is so that any element modified now 
>  does the cdata wrapping.

Correct.  If it has any special characters, CDATA is added rather than 
using HTML entities.  Seems a little cleaner overall to me.

> Will the recompile to expat enable the site to display correctly  - or 
> will I still need to go through each flexform element, correct them and 
> resave?

For all content that has not already been resaved, the switch to expat 
will make it work again becuase the HTML entities will no longer be dropped.

For content that has been resaved, the HTML entities will already be 
gone in the saved data so you'll have to tweak those manually.

Hope that helps :)

Jeff


More information about the TYPO3-english mailing list