Issue Bug Closed

#20367"select" fields with "renderMode" set to "checkbox" and non-live workspace

Oliver Rowlands 04/27/09, 19:58 updated 09/09/13, 11:00

Description

“select” fields with a “renderMode” set to “checkbox” will lose their values the first time they are modified in a non-live workspace. This only occurs if the “select” field’s values were set in the live workspace then modified for the first time in a non-live workspace.

The bug seems to originate from the t3lib_tcemain::getVersionizedIncomingFieldArray() function which only seems to handle comma separated “select” field values but not arrays.

This can be reproduced by following these steps:

1) In the live workspace:
- Edit a record containing a “select” field with a “renderMode” set to “checkbox”.
- Ensure at least on of the field’s checkboxes has been checked.
- Save your changes.

2) In a non-live workspace:
- Modify the same record.
- Modify the field’s checkbox selection.
- Save your changes.

You will now notice that on the first save the “select” field’s values are now lost.
(issue imported from #M10995)

Reviews 0

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