OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-1232

Workflows in RuleManager broken after bin/stop ing openengsb

    Details

      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

        Gliffy Diagrams

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          Michael Petritsch added a comment -

          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.

          Show
          Michael Petritsch added a comment - 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.
          Hide
          Lukas Stampf added a comment -

          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

          Show
          Lukas Stampf added a comment - 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

            People

            • Assignee:
              Lukas Stampf
              Reporter:
              Michael Petritsch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: