[jboss-jira] [JBoss JIRA] (DROOLS-4785) DRL applies even if groupflow was not assigned 7.5

Anna Dupliak (Jira) issues at jboss.org
Tue Nov 19 07:13:00 EST 2019


    [ https://issues.jboss.org/browse/DROOLS-4785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814789#comment-13814789 ] 

Anna Dupliak commented on DROOLS-4785:
--------------------------------------

*UPD*
[~danielezonca] commented that it is an issue of Incremental compilation feature
That this update of compilation is completing regarding some events - copy create DRL but not edit. 

> DRL applies even if groupflow was not assigned 7.5
> --------------------------------------------------
>
>                 Key: DROOLS-4785
>                 URL: https://issues.jboss.org/browse/DROOLS-4785
>             Project: Drools
>          Issue Type: Bug
>          Components: Scenario Simulation and Testing
>    Affects Versions: 7.5.0.Final
>            Reporter: Anna Dupliak
>            Assignee: Daniele Zonca
>            Priority: Major
>
> *For version 7.5*
> # Given Traffic repo
> # Edit DRL driver status rules 
>  {code}rule "Status 1: young driver"
>   when
>     driver: Driver(age <= 18)
>   then
>     driver.setStatus("young");
> end
> rule "Status 2: young adult driver"
>   when
>     driver: Driver(age > 18 && < 25)
>   then
>     driver.setStatus("young adult");
> end
> rule "Status 3: adult driver"
>   when
>     driver: Driver(age >= 25)
>   then
>     driver.setStatus("adult");
> end {code}
> # Go to Driver Status Rules Tests.scesim 
> # Run the Tests
> Expected : Tests failed bcs the values null expected (no DRL rules are applied)
> Actual: Tests passed rules group was not updated



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list