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

Guided Rule Template editor - Adding and removing conditions and actions is not transitive

    XMLWordPrintable

Details

    • Hide

      Following steps 1-5 as in the Reproducer steps, but then:
      6. Switch to Data tab -> remove all rows
      7. Switch to Model tab -> Remove the condition
      8. Switch to source tab -> rule removed

      Show
      Following steps 1-5 as in the Reproducer steps, but then: 6. Switch to Data tab -> remove all rows 7. Switch to Model tab -> Remove the condition 8. Switch to source tab -> rule removed
    • Hide

      1. Create a Data Object
      2. Create a Guided Rule Template
      3. Create a condition (eg. MyObject -> name equal to $default)
      4. Switch to Data tab -> Add row (eg. $default: foo)
      5. Switch to source tab:

      rule "test_0"
      	dialect "mvel"
      	when
      		MyObject( name == "foo" )
      	then
      end
      

      6. Switch to Model tab -> Remove the condition
      7. Switch to source tab:

      rule "test_0"
      	dialect "mvel"
      	when
      	then
      end
      
      Show
      1. Create a Data Object 2. Create a Guided Rule Template 3. Create a condition (eg. MyObject -> name equal to $default) 4. Switch to Data tab -> Add row (eg. $default: foo) 5. Switch to source tab: rule "test_0" dialect "mvel" when MyObject( name == "foo" ) then end 6. Switch to Model tab -> Remove the condition 7. Switch to source tab: rule "test_0" dialect "mvel" when then end

    Description

      When removing all conditions and actions in a Guided Rule Template before removing the entries in the data tab, the source tab shows an empty rule:

      rule "test_0"
      	dialect "mvel"
      	when
      	then
      end
      

      If you remove all entries in the Data tab before removing the conditions / actions, then the rule is removed completely.

      Attachments

        Activity

          People

            trikkola Toni Rikkola
            rhn-support-mputz Martin Weiler (Inactive)
            Jozef Marko Jozef Marko
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: