Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2228

BPMN component is not updated after change of Kie project

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: component-bpm
    • Labels:
      None

      Description

      A BPMN implementation is not updated after change of a Kie project. It works fine for Drools. It is necessary to mention that a BPMN implementation is not updated once the component is invoked. So, it is possible to have two BPMN components based on the same implementation and each of them having different behaviour - the first was invoked before update of Kie project, the second was invoked after update of Kie project. A reproducer based on the switchyard-bpm-service quickstart is attached.

      How to reproduce:

      1. install the Kie project to maven repo: mvn install
      2. bin/standalone.sh
      3. deploy the modified switchyard-bpm-service: mvn install -Pdeploy -DskipTests
      4. invoke the first BPMN component: mvn exec:java
        • you will see this message in the server log: ********** Inventory user: trohovsk / incoming messageId: ID-merkur-37675-1406282701955-0-19 **********
      5. modify and install the Kie project
        • change println message in Inventory's On Entry Script
        • mvn install
      6. invoke the first BPMN component again: mvn exec:java
        • you should see the modified message, however you will see the original message
      7. invoke the second BPMN component: mvn exec:java -Dexec.args="2"
        • you will see the modified message: ********** CHANGED Inventory user: trohovsk / incoming messageId: ID-merkur-37675-1406282701955-0-10 **********

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dward David Ward
                  Reporter:
                  trohovsky Tomas Rohovsky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: