[MGNLDEMO-391] Show version feature not working in tours app Created: 18/Nov/21 Updated: 18/May/22 |
|
| Status: | Open |
| Project: | Magnolia Demo Projects |
| Component/s: | tours-app |
| Affects Version/s: | 1.6.4 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Luke Trueman | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoR: |
Empty
|
||||
| Date of First Response: | |||||
| Team: | |||||
| Description |
| Comments |
| Comment by Oanh Thai Hoang [ 10/May/22 ] |
|
This is a bug of tours app because of missing app name configuration in show version action. Here is workaround solution Adding new versions.yaml dialog below /tours/dialogs to override missing appName and subAppName. See
/!inherit:ui-framework-jcr:versions
actions:
commit:
appName: tours
subAppName: detail
Override showVersions action with new dialogId in Resource app as below. Path example: https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:resources:edit;/tours/apps/tours.yaml:edit
!content-type:tour
label: tours.app.label
icon: icon-language-app
permissions:
roles:
- travel-demo-editor
- travel-demo-publisher
subApps:
browser:
actions:
addItem:
appName: tours
editItem:
appName: tours
showVersions:
dialogId: tours:versions
detail:
form:
properties:
name:
i18n: true
Sample yaml pls reference to tours.yaml |