Issue Bug Closed

#31511TCEFORM pi_flexform maxitems ignored

Hendrik Reimers 11/02/11, 12:02 updated 06/15/15, 10:27

Description

Flexform is set by default to this:

<config><br> <type>group</type><br> <internal_type>file</internal_type><br> <allowed>*</allowed><br> <max_size>10000</max_size><br> <uploadfolder>uploads/tx_tsselect/</uploadfolder><br> <size>1</size><br> <maxitems>1</maxitems><br> <minitems>0</minitems><br> <show_thumbs>1</show_thumbs><br></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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.