I created a single rule as follows:

package test
import com.Firm

rule 'test rule'
dialect 'mvel'
no-loop true
        when
            $firm:Firm( )
        then
            modify($firm){addToFirmAccumulation("va",1L,false,1)}
end

When I compiled and ran I didn't get the infinite looping like I did before. 
The method addToFirmAccumulation is annotated with @Modifies({
"volumeAccumulations" }) as it's updating the map



Davide Sottara wrote
> Interesting.. this may be a bug in the serialization process, and it may
> affect 6.x too
> Could you please check it with a package that contains a single rule
> using a single
> @propertyReactive class?
> 
> On 02/25/2014 09:25 PM, gboro54 wrote:
>> Also note we are using property reactive listener always. The rules do
>> modify
>> an object that a bunch of the rules use however the modified property is
>> not
>> being evaluated(i.e no rule is checking the property at the moment). 
>>
>>
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/Drools-5-6-0-Final-PKG-vs-DRL-infinite-loop-tp4028318p4028320.html
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> 

> rules-users@.jboss

>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
> 
> _______________________________________________
> rules-users mailing list

> rules-users@.jboss

> https://lists.jboss.org/mailman/listinfo/rules-users





--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-5-6-0-Final-PKG-vs-DRL-infinite-loop-tp4028318p4028323.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to