Bug #82146

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

Added by José Ricardo almost 2 years ago. Updated over 1 year ago.

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

0%

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.

History

#1 Updated by José Ricardo almost 2 years ago

  • Description updated (diff)

#2 Updated by Wouter Wolters almost 2 years ago

  • Status changed from New to Needs Feedback

What is the exact TYPO3 version you are using?

#3 Updated by José Ricardo almost 2 years ago

TYPO3 8.7.4

#4 Updated by Wouter Wolters almost 2 years ago

  • Status changed from Needs Feedback to New

Ok, not the issue I was thinking of we fixed in one of the latest versions.

#5 Updated by Susanne Moog over 1 year ago

  • Category set to FormEngine aka TCEforms

Also available in: Atom PDF