Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1073

GRE doesn't recognize formulas, calls on globals, etc. when reopening rule

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.0
    • 6.0.0
    • Business Central
    • None

      Description of problem:
      GRE manifests write-only behaviour for certain rule features. It has specific UI controls for calls on global variables, formulas, freeform DRL etc., however after saving and reopening the rule, the controls look different and prevent editing affected parts of the rule.

      Version-Release number of selected component (if applicable):
      ER3

      How reproducible:
      -

      Steps to Reproduce:
      1. add java.util.ArrayList to project imports
      2. define global variable of type java.util.ArrayList
      3. open any Guided Rule, import ArrayList
      4. add to RHS:

      • "Call method on <globa_list>", call clear()
      • "Append <bound variable> to list: <global_list>"
      • "Modify <bound variable>", set a string field value to "Hello " + "World!"
        5. save, close, reopen

      Actual results:
      Global calls broken, cannot change the original values. Formula input field changed to literal value input.

      Expected results:
      After reopening the rule, guided editor should provide exactly the same controls that the user added before closing the editor.

      Additional info:
      See attached screenshots for illustration.

              mfusco@redhat.com Mario Fusco
              jlocker Jiří Locker (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson
              Jiří Locker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Cheng Zhang (Inactive), etirelli, Jan Hrcek (Inactive), Lukáš Petrovický (Inactive), Toni Rikkola

                Created:
                Updated:
                Resolved:
                Archived: