[MGNLUI-5556] Setting the describeByProperty has no effect Created: 11/Dec/19  Updated: 16/Apr/20  Resolved: 29/Jan/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2

Type: Bug Priority: Neutral
Reporter: Martin Drápela Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2019-12-11-12-06-49-727.png    
Issue Links:
Problem/Incident
is caused by MGNLUI-5520 DOC: Explain ItemProviderStrategy on ... Closed
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
Epic Link: UI framework: forms, dialogs, content editing
Sprint: UI Framework & 6.2 Ramp up 15
Story Points: 3

 Description   

The describeByProperty was broken by https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/commits/425e6ab08c6d1085662e1546b91a755029a133cf#magnolia-ui-framework-jcr/src/main/java/info/magnolia/ui/field/JcrSelectFieldSupport.java

Example from contacts-v8 app:

        radioGroup:
          label: radioButtonGroup
          $type: radioButtonGroupField
          #defaultValue: aeinstein # this doesn't work, converter gets a node name instead of an uuid
          datasource:
            $type: jcrDatasource
            workspace: contacts
            describeByProperty: lastName
            allowedNodeTypes:
              - mgnl:contact

 

 


Generated at Mon Feb 12 09:27:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.