Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1794

GDTable V&V reporting not working with numeric (optional) value lists

    XMLWordPrintable

Details

    • Hide

      1. Create a guided dtable.
      2. Add condition column restricting an int field - choose '>' operator and set the (optional) value list to '1,2,3'.
      3. Add an action column.
      4. Add two rows.
      5. Fill in the same values for both rows.

      There should now be a warning about redundant rows - no such thing is present.
      If you change the int value in one row, you'd expect a subsumption warning, this also does not appear.
      If you change the rows to be the same again and change the operator for the cond. column to '==', the expected redundancy warning is also missing, but it appears if you switch the int values in both rows.

      Show
      1. Create a guided dtable. 2. Add condition column restricting an int field - choose '>' operator and set the (optional) value list to '1,2,3'. 3. Add an action column. 4. Add two rows. 5. Fill in the same values for both rows. There should now be a warning about redundant rows - no such thing is present. If you change the int value in one row, you'd expect a subsumption warning, this also does not appear. If you change the rows to be the same again and change the operator for the cond. column to '==', the expected redundancy warning is also missing, but it appears if you switch the int values in both rows.
    • NEW
    • NEW

    Description

      If a column uses (optional) value list to restrict possible numeric values, some issues won't be reported, others are "wonky".
      My guess is the values in the (optional) value list are interpreted as String rather than the correct field type (e.g. int).

      (See 'Steps to Reproduce' for more detailed info.)

      Attachments

        Activity

          People

            trikkola Toni Rikkola
            zkrejcov Zuzka Krejčová (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: