[MGNLUI-6774] DOC: Link field changed formats in 6.2.4 Created: 11/Aug/20 Updated: 14/Jul/21 Resolved: 14/Jul/21 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.4 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Christian Ringele | Assignee: | Ashraf Khamis |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 5m | ||
| Original Estimate: | Not Specified | ||
| 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)
|
||||||||||||
| Date of First Response: | |||||||||||||
| Epic Link: | 2020 mgnl-staff requests | ||||||||||||
| Sprint: | UI FW 32 | ||||||||||||
| Story Points: | 3 | ||||||||||||
| Description |
|
Link field through version 6.2.3 defaults to ID. Starting in 6.2.4 it's back to path. Old UI:
identifierToPathConverter: class: info.magnolia.ui.form.field.converter.BaseIdentifierToPathConverter New UI -> to UpdateLink field through version 6.2.3 defaults to ID. Starting in 6.2.4 it's back to path (like the old UI). This page should be updated explaining how to link via path: Using this converterClass, coming form the default field properties: converterClass: info.magnolia.ui.editor.converter.JcrNodeToPathConverter Linking via ID (default - no converter class): targetPageLink: $type: linkField label: Page description: Choose a page to link to. chooser: workbenchChooser: appName: pages-app Linking via Path(using converter class): targetPageLink: $type: linkField label: Page description: Choose a page to link to. converterClass: info.magnolia.ui.editor.converter.JcrNodeToPathConverter chooser: workbenchChooser: appName: pages-app Use case linking via Path:Its more rare cases, sure. Linking via ID is the best in most cases, but:
|
| Comments |
| Comment by Richard Gange [ 16/Feb/21 ] |
|
We need to have a section is known issues about this problem. So link field through version 6.2.3 (see |
| Comment by Ashraf Khamis [ 14/Jul/21 ] |
|
https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition/Field-definition/List-of-fields/Link-field.html has been updated several times since this ticket was created. I don't see what else needs to be documented here, and neither does Roman. Perhaps what you're looking for is already there. https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition/Field-definition.html#_common_simple_field_properties has also been recently updated with all available converter classes. As for updating the Known issues page, that change was only to fix a compatibility problem related to automatically converting the field at the time. In our docs, it is the latest version of a branch that is always documented. The idea is to document the latest state, not everything leading up to that state. I'm closing the ticket as Obsolete as there is nothing to update here. |