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

Variable type cannot be changed to byte array backed type

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.1.0
    • None
    • engine
    • None

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: