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

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.11.0.GA
    • Decision Central
    • None
    • False
    • False
    • Release Notes
    • 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. 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

      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 );
      

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

                Created:
                Updated:
                Resolved: