Bug #24452
closedtcaTree in flexforms still breaks
0%
Description
Using the tcatree in flexforms shows some strange debug code because of a missing htmlspecialchars.
Problem is that "value="' . $row[$field] . '" />" breaks the whole layout as $row[$field] holds the complete xml structure (t3lib_TCEforms_Tree -> renderField())
Simple solution: Use a htmlspecialchars to fix the layout breaking but I don't know if this is a real solution.
My flexform setting is:
------------
<settings.category>
<TCEforms>
<label>LLL:EXT:news2/Resources/Private/Language/locallang_be.xml:flexforms_general.category</label>
<config>
<type>select</type>
<renderMode>tree</renderMode>
<treeConfig>
<parentField>parentcategory</parentField>
<appearance>
<expandAll>TRUE</expandAll>
<showHeader>TRUE</showHeader>
</appearance>
</treeConfig>
<MM>tx_news2_domain_model_news_category_mm</MM>
<foreign_table>tx_news2_domain_model_category</foreign_table>
<foreign_table_where> AND (tx_news2_domain_model_category.sys_language_uid = 0 OR tx_news2_domain_model_category.l10n_parent = 0)</foreign_table_where>
<size>10</size>
<autoSizeMax>20</autoSizeMax>
<minitems>0</minitems>
<maxitems>20</maxitems>
</config>
</TCEforms>
</settings.category>
------------
(issue imported from #M16890)
Files