[TYPO3-team-templavoila] FYI48: #13154: Deleting the last element from a section in an FCE crashes rendering
Tolleiv.Nietsch
info at tolleiv.de
Sun Jan 17 15:38:19 CET 2010
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=13154
Branches:
trunk templavoila_1-4
Problem:
A PHP warning is shown when _pi1 tries to render an empty section.
Solution:
The attached patch adds a check to prevent this error.
Additional information:
The XML data to reproduce it needs to look like:
<field index="fieldname"><el index="el"></el></field>
This can be achieved by deleting all elements from a section. Just
creating an element and leaving the section empty won't produce these
problems.
I'm going to commit this in 48hrs if nobody has objections.
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
More information about the TYPO3-team-templavoila
mailing list