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

[GSS] (6.3.z) BRMS 6.3 generates wrong source code for Guided Rules if using "Formula"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.3.3
    • 6.3.0.GA
    • Business Central
    • None
    • CR1
    • 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.

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              manstis@redhat.com Michael Anstis
              rhn-support-ajuricic Amana Juricic
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: