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

DRL file with spaces in name fails first validation

XMLWordPrintable

    • ER3
    • CR1
    • Hide

      1. Create a DRL file with at lest one space in it's name
      2. Save the file and validate it.
      Validation needs to pass in this step to continue through the steps.
      3. Log out from business-central and log back in again.
      4. Open the same DRL file which was created in Step 1.
      5. Try to validate it again.

      Alternative steps:
      1. Clone mortgage-demo repository to business- central which is shipped with the product in jboss-brms-bpmsuite-6.4.0.ER3-quickstarts.zip _ (relative path to repository after extraction: _/jboss-brms-bpmsuite-6.4-quickstarts/jboss-bpmsuite-example/mortgage-demo)
      2. Navigate to com.redhat.bpms.examples.mortgage package.
      3. Open DRL file names Retract Facts After Calculation
      4. Try to validate it.

      Actual result:
      Validation fails with false errors.

      Expected result:
      Validation passes.

      Show
      1. Create a DRL file with at lest one space in it's name 2. Save the file and validate it. Validation needs to pass in this step to continue through the steps. 3. Log out from business-central and log back in again. 4. Open the same DRL file which was created in Step 1. 5. Try to validate it again. Alternative steps: 1. Clone mortgage-demo repository to business- central which is shipped with the product in jboss-brms-bpmsuite-6.4.0.ER3-quickstarts.zip _ (relative path to repository after extraction: _/jboss-brms-bpmsuite-6.4-quickstarts/jboss-bpmsuite-example/mortgage-demo ) 2. Navigate to com.redhat.bpms.examples.mortgage package. 3. Open DRL file names Retract Facts After Calculation 4. Try to validate it. Actual result: Validation fails with false errors. Expected result: Validation passes.

      DRL file which contains one or more spaces in its name (e.g. Retract Facts After Calculation) fails the first validation attempt:
      1. every time the business-central user re-logs or
      2. when DRL file with at least one space in its name has been imported to business-central as part of repo cloning

      Every consecutive validation passes.

      On the other hand, when a new DRL file with spaces in it's name has just been created, validation passes at the first attempt. Only after the user logs out and logs in again and tries to validate the same file, the validation fails with bogus errors (see screenshot attached - Error_BigAppTest_openBigappAssets.png).

      The bogus errors are also not seen if the existing DRL file has been updated and saved prior the first validation attempt.

              karreiro_ Guilherme Gomes (Inactive)
              bsremac_jira Bojan Sremac (Inactive)
              Bojan Sremac Bojan Sremac (Inactive)
              Bojan Sremac Bojan Sremac (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: