Project

General

Profile

Actions

Bug #24452

closed

tcaTree in flexforms still breaks

Added by Georg Ringer over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2011-01-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

tcatree-flex.gif (8.19 KB) tcatree-flex.gif Administrator Admin, 2011-01-02 12:43
16890-tcatree.patch (1.19 KB) 16890-tcatree.patch Administrator Admin, 2011-01-26 16:31
16890-flexforms_v2.patch (1.16 KB) 16890-flexforms_v2.patch Administrator Admin, 2011-02-02 08:12

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #24131: tcaTree should work in flexforms tooClosedSteffen Ritter2010-11-18

Actions
Actions

Also available in: Atom PDF