Actions
Bug #72738
closedFlexform: Duplicate entry after saving when FAL is part of nested flexform
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2016-01-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
There is a nested flexform xml with FAL integration.
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <T3DataStructure> <meta> <langDisable>1</langDisable> </meta> <ROOT> <type>array</type> <el type="array"> <headline type="array"> <TCEforms type="array"> <config type="array"> <type>input</type> <size>48</size> <eval>trim</eval> </config> <label>Teaserbox Headline</label> </TCEforms> </headline> <teaserwrapper type="array"> <type>array</type> <section>1</section> <el type="array"> <teaser> <type>array</type> <title>Teaser</title> <section>1</section> <el type="array"> <teaserimage> <TCEforms> <label>Teaser image</label> <config> <type>inline</type> <maxitems>1</maxitems> <minitems>0</minitems> <foreign_table>sys_file_reference</foreign_table> <foreign_table_field>tablenames</foreign_table_field> <foreign_label>uid_local</foreign_label> <foreign_sortby>sorting_foreign</foreign_sortby> <foreign_selector>uid_local</foreign_selector> <foreign_selector_fieldTcaOverride type="array"> <config> <appearance> <elementBrowserType>file</elementBrowserType> <elementBrowserAllowed>jpg,png</elementBrowserAllowed> </appearance> </config> </foreign_selector_fieldTcaOverride> <foreign_match_fields type="array"> <fieldname>teaserimage</fieldname> </foreign_match_fields> <appearance type="array"> <newRecordLinkAddTitle>1</newRecordLinkAddTitle> <headerThumbnail> <field>uid_local</field> <height>64</height> <width>64</width> </headerThumbnail> </appearance> </config> </TCEforms> </teaserimage> <teasertext> <TCEforms type="array"> <config type="array"> <type>text</type> <cols>48</cols> <rows>5</rows> </config> <defaultExtras>richtext[*]:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras> <label>Teasertext</label> </TCEforms> </teasertext> <teaserdate> <TCEforms type="array"> <config type="array"> <type>input</type> <size>48</size> <eval>trim</eval> </config> <label>Teaserdate</label> </TCEforms> </teaserdate> <teaserlink> <TCEforms type="array"> <config type="array"> <type>input</type> <size>15</size> <max>256</max> <checkbox></checkbox> <eval>trim</eval> <wizards type="array"> <_PADDING type="integer">2</_PADDING> <link type="array"> <type>popup</type> <title>Link</title> <icon>link_popup.gif</icon> <module type="array"> <name>wizard_element_browser</name> <urlParameters type="array"> <mode>wizard</mode> <act>file</act> </urlParameters> </module> <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams> </link> </wizards> </config> <label>Teaserlink</label> </TCEforms> </teaserlink> </el> </teaser> </el> </teaserwrapper> <linktext> <TCEforms type="array"> <config type="array"> <type>input</type> <size>48</size> <eval>trim</eval> </config> <label>Linktext for URL to overview</label> </TCEforms> </linktext> <linkurl> <TCEforms type="array"> <config type="array"> <type>input</type> <size>15</size> <max>256</max> <checkbox></checkbox> <eval>trim</eval> <wizards type="array"> <_PADDING type="integer">2</_PADDING> <link type="array"> <type>popup</type> <title>Link</title> <icon>link_popup.gif</icon> <module type="array"> <name>wizard_element_browser</name> <urlParameters type="array"> <mode>wizard</mode> <act>file</act> </urlParameters> </module> <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams> </link> </wizards> </config> <label>URL to overview</label> </TCEforms> </linkurl> </el> </ROOT> </T3DataStructure>
I add a new content element (gridelement) in TYPO3 named Teaser. When I add new teaser element in that content element there are are duplicate entries. I recognized the problem in context with FAl (sys_file_reference) in the nested fleform xml. When i delete that field saving is fine an no duplicate entries are created.
Maybe that is in context with https://forge.typo3.org/issues/71436.
TYPO3: 7.6.2
Gridelements: 7.0.0
Thanks in advance!
Actions