Project

General

Profile

Actions

Bug #82146

closed

Data is lost on flexform field with renderType selectTree if form not fully loaded when saving

Added by José Ricardo over 7 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2017-08-21
Due date:
% Done:

0%

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

Description

Hi, I have a flexform with some fields, one of they being this:

<category>
    <TCEforms>
        <label>LLL:EXT:cw_news/Resources/Private/Language/locallang.xlf:flexform.sNEWSFILTER.category</label>
        <config>
            <type>select</type>
            <renderType>selectTree</renderType>
            <size>10</size>
            <foreign_table>sys_category</foreign_table>
            <foreign_table_where>AND (sys_category.sys_language_uid = 0 OR sys_category.l10n_parent = 0) ORDER BY sys_category.sorting</foreign_table_where>
            <treeConfig type="array">
                <expandAll>true</expandAll>
                <parentField>parent</parentField>
                <appearance type="array">
                    <showHeader>true</showHeader>
                    <expandAll>true</expandAll>
                </appearance>
            </treeConfig>
            <autoSizeMax>10</autoSizeMax>
            <minitems>0</minitems>
            <maxitems>500</maxitems>
        </config>
    </TCEforms>
</category>

If I check a category and save, everything goes nice. But after saving, if I save again before the form is fully loaded (and the field not rendered yet), the data is lost.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86954: Categories are lost, when saving before category tree is loaded completelyClosed2018-11-20

Actions
Actions

Also available in: Atom PDF