[OPENENGSB-1232] Workflows in RuleManager broken after bin/stop ing openengsb Created: 05/Apr/11  Updated: 28/May/14  Resolved: 03/Jan/13

Status: Closed
Project: OpenEngSB
Component/s: framework
Affects Version/s: framework-2.4.2
Fix Version/s: openengsb-3.0.0.M1

Type: Bug Priority: Major
Reporter: Michael Petritsch Assignee: Lukas Stampf
Resolution: Won't Fix Votes: 0
Labels: archived


 Description   

Workaround for this (in case someone else experiences this): Overwrite old Workflows at startup of your app (e.g. RuleManager.addOrUpdate() until this is fixed



 Comments   
Comment by Michael Petritsch [ 05/Apr/11 ]

to reproduce the bug create an app that adds a workflow to the openengsb (RuleManager.add(RuleBaseElementType.Process, WORKFLOW_ID)).
now you should be able to start the workflow with WorkflowService.startFlow(WORKFLOW_ID).
stop karaf.
start it again.
do a ruleManager.get(new RuleBaseElementId(RuleBaseElementType.Process, WORKFLOW_ID)).
it should still contain your workflow.
but WorkflowService.startFlow(WORKFLOW_ID) should fail.

Comment by Lukas Stampf [ 03/Jan/13 ]

I guess this should have been fixed when adding persistence to the rulemanager. I wont do an additional test since I am currently removing the Rulemanager

Generated at Sun Sep 24 23:16:26 CEST 2017 using JIRA 6.3.13#6344-sha1:62d2b41c1ddfd5b5a56568898407231b0d9c17cb.