Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2622

Error editing rule task after deleting duplicate project

XMLWordPrintable

    • Hide
      1. Create project A (RuleTest).
      2. Create a DRL file (Myrule)
      3. Create a process (process1) with Business rule task referencing the rule group "Myrule".
        • (set the Rule flow group property to the value: "Myrule")
      4. In the same workspace make a copy of project A (Use duplicate Project option): project B (RuleTest2)
      5. Make some changes in project B (eg.: Create a new process (process2) with Business rule task referencing the same rule flow group "Myrule") and save it.
      6. Delete the project B (Rule2).
      7. Open the process1 in project A (RuleTest) and try to edit Rule Flow Group property.

      Actual result

      An error message in UI is shown. See the jira description for more information.

      Expected result

      No error messages are shown.

      Show
      Create project A ( RuleTest ). Create a DRL file ( Myrule ) Create a process ( process1 ) with Business rule task referencing the rule group " Myrule ". (set the Rule flow group property to the value: " Myrule ") In the same workspace make a copy of project A (Use duplicate Project option): project B ( RuleTest2 ) Make some changes in project B (eg.: Create a new process ( process2 ) with Business rule task referencing the same rule flow group " Myrule ") and save it. Delete the project B ( Rule2 ). Open the process1 in project A ( RuleTest ) and try to edit Rule Flow Group property. Actual result An error message in UI is shown. See the jira description for more information. Expected result No error messages are shown.
    • 2020 Week 01-03 (from Dec 30)

      Below error is thrown while editing the rule task if we delete the duplicate project created.

      | Uncaught exception: No filesystem for uri (default://master@MySpace/Rule2/src/main/resources/com/myspace/ruletest/ProcessTest.bpmn) found.
      
      

      This happens only when we copy the current project using the duplicate project option and then delete the duplicate project. Error referencing to duplicate project filesystem is thrown while editing assets in the original project.

      Use Case

      1. Create project A (RuleTest) with a Rule file (rule group "Myrule") and process with rule task referencing rule group "Myrule".
      2. Now create another project B (Rule2) by copying project A (Use duplicate Project option) in the same workspace and make some changes in project B (eg -: Create a new DRL file with same rule group - "Myrule") and save it.
      3. Now delete project B (Rule2).
      4. Now we try to edit DRL task rule property for the process in project A (RuleTest), we are getting the below error in UI.

      Complete logs attached

              josephblt Wagner Lemos (Inactive)
              rhn-support-sudnair Sudhish Nair
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: