In cam-widget-variables-table, changing to NULL variable produces wrong value

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: 7.14.0, 7.13.5
    • Component/s: None
    • None

      // When

      • In the "Set variables" batch operation, I add an integer variable
      • Then, I edit the Type to be Null

      // Then

      • The payload is
            "a": {
              "type": "Null",
              "value": 1
            },
        
      • I cannot execute the Operation: Cannot set variables: Cannot convert value '1' of type 'Null' to java type javax.lang.model.type.NullType

      // Expected

      • The value is set to null

      // Note
      This is not a regression. It is broken in the Proc. Inst. Variables Table in 7.13 as well.
      I choose the Batch operation example because it shows the payload in the UI.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Martin Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: