[MGNLUI-5873] CT: Exception when opening item with linked asset in m6 app that worked in m5 app. Created: 07/May/20 Updated: 18/Jun/20 Resolved: 28/May/20 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Christopher Zimmermann | Assignee: | Sang Ngo Huu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2d 13m | ||
| 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
|
| Release notes required: |
Yes
|
| Date of First Response: | |
| Epic Link: | UI framework implementation |
| Sprint: | UI FW 2, UI FW 3 |
| Story Points: | 5 |
| Description |
|
In M6.2, in an app based on a content type (using !content-type). An Exception occurs when trying to edit a content item, that was previously editable in m5. The content is still editable when using the !content-type-m5 directive. Since the app is always based on the same content-type definition, it should work correctly with the same content. Seems to be related to linked assets 'JcrPathToIdentifierConverter'. To reproduce bug:
2020-05-07 16:22:58,264 ERROR agnolia.ui.framework.app.AppInstanceControllerImpl: Sub-app [detail] of app [tours] failed to startinfo.magnolia.jcr.RuntimeRepositoryException: javax.jcr.RepositoryException: invalid identifier: jcr:1044b3b8-30b1-48fe-8078-832b6cef8fb5at info.magnolia.ui.editor.converter.JcrPathToIdentifierConverter.convertToPresentation(JcrPathToIdentifierConverter.java:84) ~[magnolia-ui-framework-jcr-6.2.jar:?]at info.magnolia.ui.editor.converter.JcrPathToIdentifierConverter.convertToPresentation(JcrPathToIdentifierConverter.java:54) ~[magnolia-ui-framework-jcr-6.2.jar:?] Dev notes:
|
| Comments |
| Comment by Aleksandr Pchelintcev [ 07/May/20 ] |
|
seems like the wrong converter is yielded for asset property, linked Slack thread where a similar issue is discussed. |