Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9110

Stunner - [BPMN] On deleting a project which defines ruleflow groups, business rule tasks cannot be configured properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • 7.35.0.Final
    • Designer
    • NEW
    • NEW
    • Hide
      1. Create a project and add a guided rule asset that has a ruleflow-group attribute defined.
      2. Create a second project with a guidedrule asset that has a ruleflow-group attribute defined.
      3. Add to the second project a business process asset with a business rule task node.
      4. Delete the first test project.
      5. Open the Business Process asset in the second project and click on the Business Rule Task.
        • An exception will be thrown in the app server log (see attached exception.txt) and a "System Error" dialog will be presented to the user.
      6. Log out.
      7. Log back in and attempt to add another business rule task to the business process in the second project.

      See attached images for illustrations of some of the steps.

      Actual Result

      There are no ruleflow groups populated in the drop down list, not even the ruleflow group defined in the second project (which is still valid).

      Once a user clicks on canvas and then back on Business Rule Task, both ruleflow groups are populated in the list.

      Expected Result

      Only Ruleflow groups from valid projects should be populated in the list.

      Show
      Create a project and add a guided rule asset that has a ruleflow-group attribute defined. Create a second project with a guidedrule asset that has a ruleflow-group attribute defined. Add to the second project a business process asset with a business rule task node. Delete the first test project. Open the Business Process asset in the second project and click on the Business Rule Task. An exception will be thrown in the app server log (see attached exception.txt) and a "System Error" dialog will be presented to the user. Log out. Log back in and attempt to add another business rule task to the business process in the second project. See attached images for illustrations of some of the steps. Actual Result There are no ruleflow groups populated in the drop down list, not even the ruleflow group defined in the second project (which is still valid). This is caused by the RHPAM-2740 issue. Once a user clicks on canvas and then back on Business Rule Task, both ruleflow groups are populated in the list. Expected Result Only Ruleflow groups from valid projects should be populated in the list.
    • 2020 Week 16-18 (from Apr 13), 2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25)

    Description

      When a project is deleted that has a ruleflow-group defined in one if its rule files, then other projects can no longer properly configure Business Rule Tasks in the jBPMN designer. This is because opening the Properties panel will throw an exception and the ruleflow-group drop down is no longer populated.

      This appears to be an issue similar to JBPM-8828 but is not resolved by that fix.

      Attachments

        1. exception.txt
          11 kB
        2. Step1.png
          Step1.png
          22 kB
        3. Step2.1.png
          Step2.1.png
          22 kB
        4. Step2.2.png
          Step2.2.png
          74 kB
        5. Step4.png
          Step4.png
          22 kB
        6. Step6.png
          Step6.png
          68 kB

        Issue Links

          Activity

            People

              kgaevski@redhat.com Kirill Gaevskii
              tleilaxeyes B Brown (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: