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

BRL action column containing method calls with template keys is modified inappropriately

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.11.0.GA
    • Fix Version/s: None
    • Component/s: Decision Central
    • Labels:
      None
    • Affects Build:
      CR1
    • Target Release:
    • Steps to Reproduce:
      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. Follow the steps from the video remove-call-actions.webm
      Show
      Import the sample Mortgages project Replace the original LoanApplication with LoanApplication.java Replace the original Pricing Loans with Pricing loans (1).gdst Follow the steps from the video remove-call-actions.webm
    • Affects:
      Release Notes

      Description

      This issue is related to the new feature implemented as DROOLS-5892

       If user removes one of action call in BRL action column, the produced DRL is updated incorrectly. Please follow the steps to reproduce.

      The original table produced a snippet

      		application.addAmount( 1 );
      		application.addExplanation( "exp" );
      		application.deadline( sdf.parse("08-Mar-2021") );
      		application.negateApproved( true );
      		application.numFunction( 1B );
      

      After we remove addExplanation and deadline, we would expect:

      		application.addAmount( 1 );
      		application.negateApproved( true );
      		application.numFunction( 1B );
      

      However the result is:

      		application.addAmount( 1 );
      		application.negateApproved( exp );
      		application.numFunction( 08-Mar-2021B );
      

        Attachments

        1. LoanApplication.java
          4 kB
        2. Pricing loans (1).gdst
          21 kB
        3. remove-call-actions.webm
          1.33 MB

          Issue Links

            Activity

              People

              Assignee:
              Rikkola Toni Rikkola
              Reporter:
              jomarko Jozef Marko
              Tester:
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: