[rules-users] Annotation @PropertyReactive not works

David Moros Claramunt davidmoros at gmail.com
Tue Aug 12 10:04:45 EDT 2014


I can't make the minimal self contained unit test, but my biggest problem
is that the scenarios test in Guvnor fails if classes model are annotated
with @PropertyReactive, If I remove this annotation It works fine

I don't know that occurs, but I will solve it with any workaround

Thanks a lot to all,
David Moros



2014-08-11 15:39 GMT+02:00 Mark Proctor <mproctor at codehaus.org>:

> You’ll need to submit a self contained minimal unit test, as a pull
> request.
>
> http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html
>
>
> https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/PropertyReactivityTest.java
>
>
> On 11 Aug 2014, at 14:02, David Moros Claramunt <davidmoros at gmail.com>
> wrote:
>
> you need exactly?
> model? rules? scenario? log?
>
> I use 5.6.0.Final version
>
>
> 2014-08-11 14:56 GMT+02:00 Michael Anstis <michael.anstis at gmail.com>:
>
>> The problem does not appear to be within Guvnor as such; that just uses
>> the underlying Drools engine.
>>
>> Can you provide a standalone unit test demonstrating the issue?
>>
>>
>> On 11 August 2014 13:53, David Moros Claramunt <davidmoros at gmail.com>
>> wrote:
>>
>>> thanks, it works
>>>
>>> I have put the sufix .drl at package URL and works
>>>
>>> But now, i have the same problem executing the scenarios test from
>>> Guvnor, do you know if issue is in 5.6.0.Final version and patched in later
>>> versions?
>>>
>>> Thnaks,
>>>
>>>
>>> 2014-08-08 15:26 GMT+02:00 Davide Sottara <dsotty at gmail.com>:
>>>
>>>> If I remember correctly this is a known issue. Unfortunately drools 5.6
>>>> is final and can't be patched. Downloading the source drl rather than the
>>>> compiled pkg could be a workaround.
>>>>
>>>> Please let me know if it works
>>>>
>>>> Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone
>>>>
>>>>
>>>> -------- Original Message --------
>>>> From:davidmoros <davidmoros at gmail.com>
>>>> Sent:Fri, 08 Aug 2014 05:03:29 -0500
>>>> To:rules-users at lists.jboss.org
>>>> Subject:[rules-users] Annotation @PropertyReactive not works
>>>>
>>>> I'm developing a system rules with drools, how any novice I found the
>>>> problem
>>>> of infinite loops, in unitary test I resolved with annotation
>>>> @PropertyReactive and all works fine, until I uploaded my model and
>>>> rules to
>>>> Guvnor.
>>>> Now I have developed a webservice that download the PKG from Guvnor,
>>>> with
>>>> change-set and seems that the annotation @PropertyReactive not works
>>>> because
>>>> of the same rule is reevaluated constantly although the consecuences the
>>>> rule not change the value of attributes of LHS of rule, and infinite
>>>> loops
>>>> appears....
>>>> The error only occurs when I download the PKG from Guvnor, if I refer
>>>> the
>>>> file DRL directly all woks fine
>>>>
>>>> Can anybody help me?
>>>>
>>>> I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my
>>>> webservice
>>>> are deployed in Tomcat
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html
>>>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>>>> _______________________________________________
>>>> rules-users mailing list
>>>> rules-users at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>>
>>>> _______________________________________________
>>>> rules-users mailing list
>>>> rules-users at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140812/251491fc/attachment-0001.html 


More information about the rules-users mailing list