Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7899

Wrong serializer is used when performing a process instance modification within a shared process engine

    Details

      Description

      Problem description:

      • given:
        • a shared engine
        • the attached process definition is deployed on the engine
        • two process applications are deployed on the application server (A and B)
        • App A has a custom object serializer deployed
      • when:
        • I start a process instance on app A of the given process definition with an object variable
        • App B performs a process instance modification where the timer event is cancled and the token moved to the gateway
        • the object variable is being deserialized after the gateway
      • then:
        • the process instance modifcation cannot be executed because the wrong serialized is used (see attached stacktrace)
      • expected:
        • The right serializer ist and the instance modification works

      Hint:
      We should check if it is necessary that the TypedValueField loads the variable serializer by default:
      https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/persistence/entity/util/TypedValueField.java#L281-L285

      1. stacktrace.txt
        37 kB
        Johannes Heinemann
      2. test-process.bpmn
        5 kB
        Johannes Heinemann

        Activity

        Hide
        johannes.heinemann Johannes Heinemann added a comment - - edited

        I'll try to provide a test case tomorrow

        Show
        johannes.heinemann Johannes Heinemann added a comment - - edited I'll try to provide a test case tomorrow

          People

          • Assignee:
            roman.smirnov Smirnov Roman
            Reporter:
            johannes.heinemann Johannes Heinemann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development