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

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 7.11.0.GA
    • None
    • Decision Central
    • None
    • CR1
    • 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
    • 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

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              jomarko@redhat.com Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: