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

BRL Column method call data type support is not complete for conversion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.11.1.GA
    • 7.11.0.GA
    • Decision Central
    • None
    • 3
    • False
    • False
    • Release Notes
    • CR1
    • CR1
    • +
    • Undefined
    • Hide
      1. Import the sample Mortgages project
      2. Replace the original LoanApplication with LoanApplication.java
      3. Replace the original Pricing Loans with Pricing loans (1).gdst
      4. Convert Pricing Loans into XLS table
      5. Open converted XLS table - switch to 'Source' tab
      6. The addExplanation method assume exp is a variable instead of constant "exp"
      7. The deadline method assumes "08-Mar-2021" is a date, but it is a string, we probably need some wrapper converting String into Date

      Current: Validation of the XLS (converted from the GDST) will fail
      Expected: Validation of the XLS (converted from the GDST) will success

      Show
      Import the sample Mortgages project Replace the original LoanApplication with LoanApplication.java Replace the original Pricing Loans with Pricing loans (1).gdst Convert Pricing Loans into XLS table Open converted XLS table - switch to 'Source' tab The addExplanation method assume exp is a variable instead of constant "exp" The deadline method assumes "08-Mar-2021" is a date, but it is a string, we probably need some wrapper converting String into Date Current: Validation of the XLS (converted from the GDST) will fail Expected: Validation of the XLS (converted from the GDST) will success
    • 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21)

      As part of DROOLS-5892 we introduced support of invoking java methods using template keys.

      However this new feature introduces new issue, if such guided decision table is converted into XLS decision table, then calls with String or Date arguments are not converted correctly.

      See steps to reproduce for more details.

      The good is such issue is not present in conversion of simple columns (Condition, Set the value of a field). Probably just these specific BRL columns invoking method calls are affected.

            trikkola Toni Rikkola
            rh-ee-jomarko Jozef Marko (Inactive)
            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: