[jboss-jira] [JBoss JIRA] (DROOLS-247) Property reactivity does not work with positional/unification constraints

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Oct 22 03:08:02 EDT 2013


    [ https://issues.jboss.org/browse/DROOLS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12823815#comment-12823815 ] 

RH Bugzilla Integration commented on DROOLS-247:
------------------------------------------------

Mario Fusco <mfusco at redhat.com> made a comment on [bug 1021803|https://bugzilla.redhat.com/show_bug.cgi?id=1021803]

Positional and/or unification constraints are interpreted as either bindings
or constraints, depending on the whether the variable is already bound or not. The user is expected not to have to care about the difference.

...
Person( $name; $age := age )
...

If the pattern type is @propertyReactive, however, the actual decision
between binding and constraint WILL make a difference, possibly forcing
the user to use @watch()
                
> Property reactivity does not work with positional/unification constraints
> -------------------------------------------------------------------------
>
>                 Key: DROOLS-247
>                 URL: https://issues.jboss.org/browse/DROOLS-247
>             Project: Drools
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final, 6.0.0.CR2
>            Reporter: Davide Sottara
>            Assignee: Mario Fusco
>            Priority: Minor
>             Fix For: 5.5.1.Final, 6.0.0.Final
>
>
> Positional and/or unification constraints are interpreted as either bindings
> or constraints, depending on the whether the variable is already bound or not. The user is expected not to have to care about the difference.
> ...
> Person( $name; $age := age )
> ...
> If the pattern type is @propertyReactive, however, the actual decision
> between binding and constraint WILL make a difference, possibly forcing
> the user to use @watch()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list