Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-711

Incorrect V&V results when operator is filled in the row (as opposed to column definition)

    XMLWordPrintable

Details

    • 2019 Week 05-07, 2019 Week 08-10, 2019 Week 11-13

    Description

      Imagine data model Person with attribute age.

      If you create decision table and add two columns:

      • both are defined against "age" attribute
      • none of them have operator defined

      then you add one row, and you fill in the operator and the value directly inside the row.
      For example:
      >= 20
      <= 30

      The generated DRL looks like this:

      package org;
      
      //from row number: 1
      rule "Row 1 AnotherTest"
      	dialect "mvel"
      	when
      		p : Person( age >= 20 , age <= 30 )
      	then
      		p.setAgeGroup( "whatever" );
      end
      
      

      The V&V will report this as conflicting row:

      Attachments

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              rhn-support-agiertli Anton Giertli
              Jozef Marko Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: