Project

General

Profile

Actions

Bug #20367

closed

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

Added by Oliver Rowlands over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-04-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Files

10995.diff (834 Bytes) 10995.diff Administrator Admin, 2009-04-27 20:00
Actions

Also available in: Atom PDF