Details
-
Bug
-
Resolution: Done
-
Medium
-
2.5.15, 3.2.3
-
None
Description
When in select attribute of Custom Block there are choices available, that one of the opinions value part is the value of a different option, multiple selections are made on submit.
Steps to reproduce
1. Clean installation of eZ Platform 2.5/Ibexa DXP 3.2
2. Create a new custom block:
ezplatform_page_fieldtype: blocks: test_block: name: 'Test block' thumbnail: '/bundles/ezplatformadminui/img/ez-icons.svg#align-justify' views: default: template: '@ezdesign/blocks/text_block.html.twig' name: 'Default' attributes: color: name: 'Color' type: select options: choices: 'Light Blue': 'light-blue' 'Blue': 'blue' 'Red': 'red' 'Green': 'green'
3. Go to the Backoffice, open any Landing Page in editorial mode.
4. Place the newly created Test block inside the Landing page. Open configuration view, and select the "Light Blue" option. Press Submit.
5. Open the Test block configuration view again.
Results
Two options are shown as selected: Light Blue and Blue
Expected Result
Only one option is shown as selected: Light Blue