Project

General

Profile

Actions

Bug #31511

closed

TCEFORM pi_flexform maxitems ignored

Added by Hendrik Reimers about 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2011-11-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Flexform is set by default to this:

<config>
<type>group</type>
<internal_type>file</internal_type>
<allowed>*</allowed>
<max_size>10000</max_size>
<uploadfolder>uploads/tx_tsselect/</uploadfolder>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
<show_thumbs>1</show_thumbs>
</config>

with TSconfig (TCEFORM) i'm changing this values:

TCEFORM.tt_content.pi_flexform.ts_select_pi1.sEXTRA.file.config.size = 6
TCEFORM.tt_content.pi_flexform.ts_select_pi1.sEXTRA.file.config.maxitems = 6

Now the Backend User can select multiple files. But if the user is saving the content element (flexform) any item will be removed only the first leaves (like it's set on the flexform.xml).

So it seems that the TSconfig will change the maxitems value and it looks like it's working but on saving these changes will be ignored and the original flexform.xml config will be used to save the data.

Actions

Also available in: Atom PDF