[
https://jira.jboss.org/browse/JBRULES-1881?page=com.atlassian.jira.plugin...
]
Mark Proctor resolved JBRULES-1881.
-----------------------------------
Fix Version/s: 5.1.0.CR1
(was: FUTURE)
Resolution: Done
Not heard anything back, so closing this off.
no-loop attribute not wrking with modify
-----------------------------------------
Key: JBRULES-1881
URL:
https://jira.jboss.org/browse/JBRULES-1881
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler, drools-core
Affects Versions: 4.0.7
Reporter: Sravanthi Tipirneni
Assignee: Mark Proctor
Priority: Minor
Fix For: 5.1.0.CR1
in the rule given below, the rule is looping when i use
modify( $edi ){
setSourceable(true)
}
in RHS. It does not loop when i use $edi.setSourceable(true);
rule "Generic MSRP Rule"
no-loop true
when
$edi : EdiProduct( $prod : product )
Product( classificationCode == null, $prc : pricing ) from $prod
Pricing( $msr : msrp ) from $prc
Money( asBigDecimal > 0) from $msr
then
modify( $edi ){
setSourceable(true)
}
//$edi.setSourceable(true);
System.out.println("Rule is successfull");
end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira