[jboss-jira] [JBoss JIRA] (DROOLS-91) Property reactivity masks are wrong for of inherited properties
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Tue Mar 26 14:17:41 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-91.
-------------------------------
Fix Version/s: 5.6
6.0.0.Alpha1
Resolution: Done
Fixed by preserving inheritance blocks when calculating the property reactivity masks, i.e. the properties belonging to classes higher in the hierarchy come first in the list of sorted properties.
> Property reactivity masks are wrong for of inherited properties
> ---------------------------------------------------------------
>
> Key: DROOLS-91
> URL: https://issues.jboss.org/browse/DROOLS-91
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Fix For: 5.6, 6.0.0.Alpha1
>
>
> Lexicographic ordering of settable properties used to sort the properties of an object in a fixed way doesn't work well with inheritance. In fact, since the modification mask is computed based on the pattern type, not the actual object type, the masks intersection can return a wrong result because the 2 masks are calculated on different classes (one extending the other).
--
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