[MGNLUI-5978] Cannot use m6 linkfield to link to m5 app with 'appName' property Created: 18/Jun/20 Updated: 24/Aug/20 Resolved: 27/Jul/20 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Christopher Zimmermann | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| 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)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Description |
|
Based on https://documentation.magnolia-cms.com/display/DOCS62/Link+field I expect that I can link to an m5 app using a configuration like: Attempt with "appName":
label: Articl
form:
properties:
article:
label: Article
$type: linkField
chooser:
workbenchChooser:
appName: stories
but this gives an exception when trying to use the chooser:
Caused by: java.lang.IllegalStateException: Could not resolve browser descriptor from app categories
at info.magnolia.ui.chooser.definition.AppAwareWorkbenchChooserDefinition.lambda$null$7(AppAwareWorkbenchChooserDefinition.java:166) ~[magnolia-ui-framework-6.2.2-SNAPSHOT.ja
I would expect that the above definition would work whether the target app is an m6 app or an m5 app. How can an M6 dialog link to an m5 app? This must be possible and it must be clearly documented, probably on the above linked page. Note - this also does not work - when you open the chooser it is empty: Attempt with "datasource":
label: Article
form:
properties:
article:
label: Article
$type: linkField
chooser:
workbenchChooser:
datasource:
$type: jcrDatasource
workspace: stories
rootPath: /
previewDefinition:
nodeName: name
|
| Comments |
| Comment by Christopher Zimmermann [ 23/Jun/20 ] |
|
For a working definition of an m6 app linkField pointing to an m5 app, see: |
| Comment by Christopher Zimmermann [ 27/Jul/20 ] |
|
Solved with: https://jira.magnolia-cms.com/browse/MGNLUI-6044 |