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

[Guided Decision Table Editor] From accumulate causes validation errors

    XMLWordPrintable

    Details

    • Affects Build:
      DR1
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide
      1. Open the example mortgages project
      2. Create new Data object Company
      3. Add field List<Applicant> to the Company class
      4. Open the pricing loans table
      5. Add column like shown in the attachment
      6. Tick some checkbox of the new column in the table data
      7. Validate the table
      Show
      Open the example mortgages project Create new Data object Company Add field List<Applicant> to the Company class Open the pricing loans table Add column like shown in the attachment Tick some checkbox of the new column in the table data Validate the table

      Description

      Expression [1] causes validation error in guided decision table editor.

      [1]
      $c : Company( )
      Number( ) from accumulate ( ($a : Applicant( age > 18 ) from $c.applicants), sum($a.age))

      Reproducer for the issue prepared also in the PR below. Once fixed the ignored test should pass.
      https://github.com/kiegroup/drools-wb/pull/731

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              manstis Michael Anstis
              Reporter:
              jomarko Jozef Marko
              Tester:
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: