[MGNLUI-6117] Autocreated apps set required=false to fields that do not have such property Created: 05/Aug/20 Updated: 25/Feb/22 |
|
| Status: | Accepted |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Bartosz Staryga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| 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 |
|
When using auto creation of content apps, and decorating the app to use multi value filed the minor issue in Def app is shown: Property [required] not found in class [info.magnolia.ui.field.JcrMultiValueFieldDefinition], property is not assigned Title: Source data processing problem Auto creating apps always adds the required filed (false/true) and this seems to be not supprted yet with multi value fileds.
|
| Comments |
| Comment by Šimon Demočko [ 19/Feb/21 ] |
|
Hi, so when it is not required, it automatically adds "required: false" for that? > Auto creating apps always adds the required filed (false/true) and this seems to be not supprted yet with multi value fileds. Is this still the case? detailTemplate.ftl does not seem to do that for multi fields, if you check where "required" is mentioned it's not there for the multi part. |