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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.50.0.Final, 7.53.0.Final
    • None
    • 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
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

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

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

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

                Created:
                Updated:
                Resolved: