Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4165

BRMS 6.3 generates wrong source code for Guided Rules if using "Formula"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.4.0
    • 6.3.0.GA
    • Business Central
    • None
    • ER2
    • Hide

      1. Created a Data Object (e.g. Person with attributes name,id,etc);
      2. Created a Guided Rule;
      3. In Then part, added "Change fields value of p" (Person was bound to "p").
      4. Added a formula field and filled out with: "/" + p.getName()
      5. Saved and closed "Guided Rule".
      6. Opened the Guided Rule again and clicked on "Source" tab;

      Result: Before saving it is displayed properly, after saving it shows an incorrect code.

      Show
      1. Created a Data Object (e.g. Person with attributes name,id,etc); 2. Created a Guided Rule; 3. In Then part, added "Change fields value of p" (Person was bound to "p"). 4. Added a formula field and filled out with: "/" + p.getName() 5. Saved and closed "Guided Rule". 6. Opened the Guided Rule again and clicked on "Source" tab; Result: Before saving it is displayed properly, after saving it shows an incorrect code.

      After writing a "Guided Rule" in business-central, in the action part it was selected Change fields value of xx. Then it was added a formula field where was added a String + Variable (e.g. "/" + xx.getId()). After saving and closing the page, the code generates an incorrect source code as it convert the formula field to a "Literal Value" field (the content is converted to a String).

              manstis@redhat.com Michael Anstis
              rhn-support-ajuricic Amana Juricic
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes Juraj Soltes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: