[MGNLUI-6257] LinkFieldDefinitionConverter assumes default converter touuid Created: 30/Sep/20  Updated: 27/Oct/20  Resolved: 27/Oct/20

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 6.2.1, 6.2.2, 6.2.3
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Teresa Miyar Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: regression
Remaining Estimate: Not Specified
Time Spent: 55m
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLUI-6126 LinkField: Error if linked by path bu... 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
Date of First Response:

 Description   

Link Field default behaviour is to store the path not the uuid, the automatic converter changes it to uuid breaking customer applications,

Old doc, if no identifierToPathConverter defined it will store the path
https://documentation.magnolia-cms.com/display/DOCS61/Link+field

here should set the default to info.magnolia.ui.editor.converter.JcrNodeToPathConverter and not to JcrNodeToIdentifierConverter
https://git.magnolia-cms.com/projects/PLATFORM/repos/ui.pub/browse/magnolia-ui-framework-compatibility/src/main/java/info/magnolia/ui/form/field/definition/migration/LinkFieldDefinitionConverter.java#148



 Comments   
Comment by Simon Lutz [ 30/Sep/20 ]

Hi tmiyar, I think this is a duplicate of MGNLUI-6126.

Comment by Aleksandr Pchelintcev [ 27/Oct/20 ]

Fixed by the changes in https://jira.magnolia-cms.com/browse/MGNLUI-6126

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