Re: [rules-users] Annotation @PropertyReactive not works

2014-08-12 Thread David Moros Claramunt
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 mproc...@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 davidmo...@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.ans...@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 davidmo...@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 dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-12 Thread Mark Proctor

On 12 Aug 2014, at 15:04, David Moros Claramunt davidmo...@gmail.com wrote:

 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
Please attest open a JIRA, with as much information as you can - so we can 
avoid losing information on potential bugs.
 
 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 mproc...@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 davidmo...@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.ans...@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 davidmo...@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 dso...@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 ATT 4G LTE smartphone
 
 
  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-11 Thread David Moros Claramunt
)
 at org.drools.reteoo.ObjectTypeNode.modifyObject(ObjectTypeNode.java:381)
at org.drools.reteoo.EntryPointNode.modifyObject(EntryPointNode.java:287)
 at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:505)
at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:401)
 at
org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:370)
at
horaspersonas.BRA.Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132.defaultConsequence(Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132.java:9)
 at
horaspersonas.BRA.Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132DefaultConsequenceInvokerGenerated.evaluate(Unknown
Source)
at
horaspersonas.BRA.Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132DefaultConsequenceInvoker.evaluate(Unknown
Source)
 at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1282)
... 32 more





2014-08-09 19:41 GMT+02:00 Davide Sottara dso...@gmail.com:

  Regarding the @Pr issue: yes, afaik newer versions are fixed. If not,
 they are more likely to be fixable.
 Thanks
 Davide


 On 08/09/2014 12:34 PM, Michael Anstis wrote:

 Regarding the Guvnor question; we don't support the time element of dates
 at the moment.
 It should however be a simple change and I am happy to support you
 submitting a pull request to fix in a later version. Unfortunately we
 simply do not have the time to fix ourselves at present.

 Sent on the move
 On 9 Aug 2014 16:20, David Moros Claramunt davidmo...@gmail.com wrote:

 Do you know if the issue is solved in some later version?

  Also, I have another problem with Guvnor, in scenarios test I can´t set
 a date with time in Date field, is possible set it?I have changed the
 format Date and DateTime in .properties but fail the conversion too

  thanks,


 2014-08-08 15:26 GMT+02:00 Davide Sottara dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing 
 listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-11 Thread David Moros Claramunt
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 dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-11 Thread Michael Anstis
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 davidmo...@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 dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-11 Thread David Moros Claramunt
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.ans...@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 davidmo...@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 dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-11 Thread Mark Proctor
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 davidmo...@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.ans...@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 davidmo...@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 dso...@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 ATT 4G LTE smartphone
 
 
  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-09 Thread David Moros Claramunt
Do you know if the issue is solved in some later version?

Also, I have another problem with Guvnor, in scenarios test I can´t set a
date with time in Date field, is possible set it?I have changed the format
Date and DateTime in .properties but fail the conversion too

thanks,


2014-08-08 15:26 GMT+02:00 Davide Sottara dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-09 Thread Michael Anstis
Regarding the Guvnor question; we don't support the time element of dates
at the moment.
It should however be a simple change and I am happy to support you
submitting a pull request to fix in a later version. Unfortunately we
simply do not have the time to fix ourselves at present.

Sent on the move
On 9 Aug 2014 16:20, David Moros Claramunt davidmo...@gmail.com wrote:

 Do you know if the issue is solved in some later version?

 Also, I have another problem with Guvnor, in scenarios test I can´t set a
 date with time in Date field, is possible set it?I have changed the format
 Date and DateTime in .properties but fail the conversion too

 thanks,


 2014-08-08 15:26 GMT+02:00 Davide Sottara dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@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@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-09 Thread Davide Sottara
Regarding the @Pr issue: yes, afaik newer versions are fixed. If not,
they are more likely to be fixable.
Thanks
Davide

On 08/09/2014 12:34 PM, Michael Anstis wrote:

 Regarding the Guvnor question; we don't support the time element of
 dates at the moment. 
 It should however be a simple change and I am happy to support you
 submitting a pull request to fix in a later version. Unfortunately we
 simply do not have the time to fix ourselves at present.

 Sent on the move

 On 9 Aug 2014 16:20, David Moros Claramunt davidmo...@gmail.com
 mailto:davidmo...@gmail.com wrote:

 Do you know if the issue is solved in some later version?

 Also, I have another problem with Guvnor, in scenarios test I
 can´t set a date with time in Date field, is possible set it?I
 have changed the format Date and DateTime in .properties but fail
 the conversion too

 thanks,


 2014-08-08 15:26 GMT+02:00 Davide Sottara dso...@gmail.com
 mailto:dso...@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 ATT 4G LTE smartphone


  Original Message 
 From:davidmoros davidmo...@gmail.com
 mailto:davidmo...@gmail.com
 Sent:Fri, 08 Aug 2014 05:03:29 -0500
 To:rules-users@lists.jboss.org
 mailto:to%3arules-us...@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@lists.jboss.org mailto:rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

 ___
 rules-users mailing list
 rules-users@lists.jboss.org mailto:rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org mailto:rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Annotation @PropertyReactive not works

2014-08-08 Thread davidmoros
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Annotation @PropertyReactive not works

2014-08-08 Thread Davide Sottara
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 ATT 4G LTE smartphone

 Original Message 
From:davidmoros davidmo...@gmail.com
Sent:Fri, 08 Aug 2014 05:03:29 -0500
To:rules-users@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users