Variable type cannot be changed to byte array backed type

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.1.0
    • Affects Version/s: None
    • Component/s: 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

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

                Created:
                Updated:
                Resolved: