[MGNLWORKFLOW-404] viewMapping not set correctly when upgrading from 6.0 Created: 21/Jun/21 Updated: 26/Aug/22 |
|
| Status: | Open |
| Project: | Magnolia Workflow Module |
| Component/s: | Pages Integration |
| Affects Version/s: | 6.0.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Richard Gange | Assignee: | Unassigned |
| Resolution: | Unresolved | 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
|
||||
| Epic Link: | AuthorX Maintenance | ||||
| Team: | |||||
| Description |
|
In the case you had the module magnolia-module-workflow-pages-6.0 installed previously and then upgraded the viewMapping for the new pages app is not installed correctly. Since the module is technically "installed" that means the extra install tasks never run which were added in 6.0.1. When trying to "approve and publish" you hit the following exception: 2021-06-18 03:06:57,562 ERROR agnolia.ui.framework.app.AppInstanceControllerImpl: Sub-app [detail] of app [tasks-app] failed to start info.magnolia.config.registry.Registry$NoSuchDefinitionException: pages:publish at info.magnolia.config.registry.AbstractRegistry.getProvider(AbstractRegistry.java:127) ~[magnolia-configuration-6.2.6.jar:?] at info.magnolia.ui.admincentral.shellapp.pulse.item.registry.ItemViewDefinitionRegistry.get(ItemViewDefinitionRegistry.java:82) ~[magnolia-ui-admincentral-6.2.6.jar:?] at info.magnolia.task.app.view.detail.TaskDetailSubApp.start(TaskDetailSubApp.java:135) ~[magnolia-tasks-app-6.2.6.jar:?] at info.magnolia.task.app.view.detail.TaskDetailSubApp.start(TaskDetailSubApp.java:77) ~[magnolia-tasks-app-6.2.6.jar:?] at info.magnolia.ui.framework.app.AppInstanceControllerImpl.startSubApp(AppInstanceControllerImpl.java:418) ~[magnolia-ui-framework-6.2.6.jar:?] at info.magnolia.ui.framework.app.AppInstanceControllerImpl.openSubApp(AppInstanceControllerImpl.java:363) ~[magnolia-ui-framework-6.2.6.jar:?] at info.magnolia.ui.framework.app.BaseApp.lambda$openSubApp$7(BaseApp.java:138) ~[magnolia-ui-framework-6.2.6.jar:?] at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_181] Workaround
|