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

Variable type cannot be changed to byte array backed type

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: engine
    • Labels:
      None

      Description

      Steps to reproduce:

      • add Java Delegate to Process

      public class ChangeVariablesDelegate implements JavaDelegate {

      public void execute(DelegateExecution execution) throws Exception

      { // first set variable to 'null' execution.setVariable("variableName", null); // now set to serializable execution.setVariable("variableName", new SerializableVariable("foo")); }

      }

      • Command fails with persistence exception: variable instance is flushed BEFORE byte array which results in foreign key violation

        Attachments

          Activity

            People

            Assignee:
            smirnov Roman Smirnov
            Reporter:
            meyer Daniel Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: