-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
6.0.4
-
None
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
- Find the property: /modules/workflow-jbpm/tasks/publish/viewMapping@website
- Update the value: pages-app:publish
- Find the property: /modules/workflow-jbpm/tasks/unpublish/viewMapping@website
- Update the value: pages-app:unpublish
Acceptance criteria