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

Spin Value XML and JSON lose transient flag when built from UntypedValue

    Details

    • Type: Bug Report
    • Status: Ready
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: 7.11.0-alpha3
    • Fix Version/s: 7.12.0
    • Component/s: engine, spin
    • Labels:
      None

      Description

      If:

      • variable is created with execution.setVariable("test", Variables.untypedValue(Spin.JSON("{}"), true));

      Then:

      • execution.getVariableTyped("test").isTransient() is false

      Expected:

      • execution.getVariableTyped("test").isTransient() is true

      Failing test cases
      https://github.com/camunda/camunda-bpm-platform/commit/cc58efcdeccaa5801c334288f11d11fd3c96e14f

        Issue Links

          Activity

          Hide
          tassilo.weidner Tassilo Weidner added a comment -

          Hi Ragnar,

          this is indeed unexpected behavior and we will now decide how we continue with it.

          Stay tuned!

          Cheers,
          Tassilo

          Show
          tassilo.weidner Tassilo Weidner added a comment - Hi Ragnar, this is indeed unexpected behavior and we will now decide how we continue with it. Stay tuned! Cheers, Tassilo
          Hide
          thorben.lindhauer Thorben Lindhauer added a comment -

          Hi Ragnar,

          We will try to fix this with 7.11, but may postpone it if we don't have the time.

          Cheers,
          Thorben

          Show
          thorben.lindhauer Thorben Lindhauer added a comment - Hi Ragnar, We will try to fix this with 7.11, but may postpone it if we don't have the time. Cheers, Thorben
          Hide
          thorben.lindhauer Thorben Lindhauer added a comment -

          This happens not only with Spin values, but with all typed values that extend org.camunda.bpm.engine.variable.value.SerializableValue, so e.g. also object values.

          Show
          thorben.lindhauer Thorben Lindhauer added a comment - This happens not only with Spin values, but with all typed values that extend org.camunda.bpm.engine.variable.value.SerializableValue , so e.g. also object values.

            People

            • Assignee:
              thorben.lindhauer Thorben Lindhauer
              Reporter:
              ragnar.nevries Ragnar Nevries
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development