Bug #47484
closedselected option not respected in sysext frontend -> FormContentObject
0%
Description
There seems to be a typo in sysext/frontend/Classes/ContentObject/FormContentObject.php Line 96
$singleKeyArray should be $singleKey_valueArray
You can test it with the following Typoscript
page.200 = FORM
page.200 {
type = index.php?id=466
accessibility = 1
noWrapAttr = 1
formName = suche
dontMd5FieldNames = 1
layout = <p class="suche">###LABEL### ###FIELD###</p>
dataArray {
10.label = Color
10.type = color=select
10.valueArray {
10.label = Blue
10.value = 1
20.label = Green
20.value = 2
20.selected = 1
}
}
}
without the bugfix the option green will not be rendered as "selected"
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20105
Updated by Wouter Wolters almost 11 years ago
- Status changed from Under Review to Rejected
Thanks for the report! This one is already under review at #43893 Can you give your testing and votes there?