[MGNLUI-2654] CheckboxFieldDefinition: 'defaultValue' property does not behave as the former 'selected' property. Also former 'selected' still exists in configurations (but ignored) and in documentation. Created: 06/Feb/14 Updated: 15/Apr/14 Resolved: 14/Feb/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | forms |
| Affects Version/s: | 5.2.2 |
| Fix Version/s: | 5.2.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Christian Ringele | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | maintenance, support | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Description |
|
From the commit fce63483089061379501143b58528541d0fe1fcc indicates, that the always existing 'defaultValue' property is the successor of 'selected' property. But setting the 'defaultValue' property to true (CheckboxFieldDefinition_HideInNavigation.png) has no impact, the checkbox is not checked, and will therefore save the false value (ignoring the defaultValue). In the past, the 'defaultValue' property was only used for defining in a group of Checkboxes and radio buttons, which one should be selected. I didn't test if this still works. Also looking at configurations in STK, the property still exists even its not used see CheckboxFieldDefinition_HideInNavigation.png. And in documentation the 'selected' property is still mentioned: |
| Comments |
| Comment by Roman Kovařík [ 14/Feb/14 ] |
|
Commited on 5.2.x branch for review. |