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

    XMLWordPrintable

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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce