Is property reactive bug in 5.5 fixed in 6.0

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Is property reactive bug in 5.5 fixed in 6.0

wtang
Hi,

I am having issues with property reactive causing some rules not to get fired.  Looks like someone also encountered this issue in 5.5 and it was agreed to be a bug.  I am using 6.0 and was wondering if this bug is fixed.

Here is the detail of the property reactive bug in 5.5:

http://drools.46999.n3.nabble.com/same-criteria-across-multiple-rules-cancels-activation-with-Property-Reactive-Facts-td4021204.html#a4021208


thanks!  Wing Tang
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Is property reactive bug in 5.5 fixed in 6.0

Mark Proctor
not aware of any property reactive bugs, make sure you try master to be sure:
http://downloads.jboss.org/drools/release/snapshot/master/

Mark
On 4 May 2014, at 21:43, wtang <[hidden email]> wrote:

> Hi,
>
> I am having issues with property reactive causing some rules not to get
> fired.  Looks like someone also encountered this issue in 5.5 and it was
> agreed to be a bug.  I am using 6.0 and was wondering if this bug is fixed.
>
> Here is the detail of the property reactive bug in 5.5:
>
> http://drools.46999.n3.nabble.com/same-criteria-across-multiple-rules-cancels-activation-with-Property-Reactive-Facts-td4021204.html#a4021208
>
>
> thanks!  Wing Tang
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Is-property-reactive-bug-in-5-5-fixed-in-6-0-tp4029419.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Is property reactive bug in 5.5 fixed in 6.0

wtang
if you please could click on the link on the original post, you will see it has Mark Proctor name on it and you were pushing for a fix in future release of 5.5.

Please let me know if this bug have been fixed in 6.0.

thx, Wing
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Is property reactive bug in 5.5 fixed in 6.0

Mark Proctor
We did a number of property reactive fixes for 5.6 and 6.0, but I do not know if the one in that mailing list entry was fixed, as they never submitted a unit test to us, as a pull request, as per:
"I also wrote a page on how to submit unit tests and bug fixes: 
http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html"

Mark
On 5 May 2014, at 00:34, wtang <[hidden email]> wrote:

if you please could click on the link on the original post, you will see it
has Mark Proctor name on it and you were pushing for a fix in future release
of 5.5.

Please let me know if this bug have been fixed in 6.0.

thx, Wing



--
View this message in context: http://drools.46999.n3.nabble.com/Is-property-reactive-bug-in-5-5-fixed-in-6-0-tp4029419p4029421.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Is property reactive bug in 5.5 fixed in 6.0

Davide Sottara
In reply to this post by wtang
Bugs about @PR were reported and fixed in 5.6 and 6.x
The fixes cover the bug described in the original thread.
More issues related with @PR were fixed here:

https://issues.jboss.org/browse/DROOLS-91?jql=project%20%3D%20DROOLS%20AND%20text%20~%20%22property%20reactive%22

If you have encountered a specific problem with one of your rules,
please report it.
Thanks
Davide



On 05/04/2014 04:34 PM, wtang wrote:

> if you please could click on the link on the original post, you will see it
> has Mark Proctor name on it and you were pushing for a fix in future release
> of 5.5.
>
> Please let me know if this bug have been fixed in 6.0.
>
> thx, Wing
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Is-property-reactive-bug-in-5-5-fixed-in-6-0-tp4029419p4029421.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users
>

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Is property reactive bug in 5.5 fixed in 6.0

wtang
thank for all your reply!

here is an example of a  rule that did not work:

declare myobject
@propertyReactive
p1: integer
end

rule1
when (p1 == 1)
 p1 = 2

rule2
when (p1 == 2)
system.out.println("hello");

rule2 never get executed with propertyReactive.  Take out PR and it will fire.  I am still trying to figure out how to submit jira bug.  Sorry!

Wing
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Is property reactive bug in 5.5 fixed in 6.0

Davide Sottara
Please try 5.6 or 6.x, the problem is known in 5.5 and it won't be
possible to fix it there


On 05/06/2014 10:42 PM, wtang wrote:

> thank for all your reply!
>
> here is an example of a  rule that did not work:
>
> declare myobject
> @propertyReactive
> p1: integer
> end
>
> rule1
> when (p1 == 1)
>  p1 = 2
>
> rule2
> when (p1 == 2)
> system.out.println("hello");
>
> rule2 never get executed with propertyReactive.  Take out PR and it will
> fire.  I am still trying to figure out how to submit jira bug.  Sorry!
>
> Wing
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Is-property-reactive-bug-in-5-5-fixed-in-6-0-tp4029419p4029453.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users
>

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users