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

[Guided Decision Table Editor] From accumulate causes validation errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.0.2.GA
    • 7.0.1.GA
    • Business Central
    • None
    • CR1
    • CR1
    • 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

      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

            manstis@redhat.com Michael Anstis
            manstis@redhat.com Michael Anstis
            Jozef Marko Jozef Marko (Inactive)
            Jozef Marko Jozef Marko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: