[MGNLWORKFLOW-470] Workflow bootstraps reference old classes leading to ClassNotFoundEx on server-startup Created: 17/Jan/24  Updated: 17/Jan/24

Status: Open
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLEE-838 dx-core-test-webapps should not throw... Closed
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   

The workflow module(s) comes with "bootstrap-files" referencing classes which apparently do not exist anymore.
In consequence - when the webapp starts up - we see ClassNotFoundExceptions during startup.
[See log on gist|http://example.com].


ClassNotFoundException: info.magnolia.module.workflow.jbpm.humantask.view.PublicationTaskPresenter

This one is referenced in a couple of resources:

  • info.magnolia.module.workflow.setup.WorkflowBaseModuleVersionHandler
  • info.magnolia.module.workflow.setup.WorkflowBaseModuleVersionHandlerTest
  • workflow/magnolia-module-workflow/src/test/resources/mgnl-bootstrap/workflow-pages/config.modules.pages-app.messageViews.xml
  • workflow/magnolia-module-workflow-pages/src/main/resources/info/magnolia/module/workflow-pages/setup/workflow-pages/config.modules.pages-app.messageViews.xml

References in MVH are legit.
CLassNotFoundEx likely coming from the xml-resources


ClassNotFoundException: info.magnolia.module.workflow.action.WorkItemLocalizedDiffActionDefinition

References:
 - info.magnolia.module.workflow.setup.WorkflowBaseModuleVersionHandler
 - info.magnolia.module.workflow.setup.WorkflowBaseModuleVersionHandlerTest
 - info.magnolia.module.workflow.jbpm.setup.JbpmWorkflowModuleVersionHandler
 - info.magnolia.module.workflow.jbpm.setup.JbpmWorkflowModuleVersionHandlerTest
 - workflow/magnolia-module-workflow/src/test/resources/mgnl-bootstrap/workflow-pages/config.modules.pages-app.messageViews.xml
 - workflow/magnolia-module-workflow-pages/src/main/resources/info/magnolia/module/workflow-pages/setup/workflow-pages/config.modules.pages-app.messageViews.xml
 

References in MVH are legit.
CLassNotFoundEx likely coming from the xml-resources


Generated at Mon Feb 12 10:10:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.