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

Method calls with two parameters are not converted ocrrectly

    XMLWordPrintable

Details

    • Hide
      1. Import the sample Mortgages project
      2. Replace the original LoanApplication with LoanApplication.java
      3. Replace the original Pricing Loans with Pricing loans.gdst
      4. Convert Pricing Loans into XLS table

      Current: there will be two calls application.complexFunction("a value") and application.complexFunction("b value")
      Expected: there is one call application.complexFunction("a value", "b value")

      Show
      Import the sample Mortgages project Replace the original LoanApplication with LoanApplication.java Replace the original Pricing Loans with Pricing loans.gdst Convert Pricing Loans into XLS table Current: there will be two calls application.complexFunction("a value") and application.complexFunction("b value") Expected: there is one call application.complexFunction("a value", "b value")
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

    Description

      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.

      The original guided decision table produces code like:

      However once converted into xls:

      Attachments

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              rh-ee-jomarko Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: