[
https://issues.jboss.org/browse/DROOLS-172?page=com.atlassian.jira.plugin...
]
Davide Sottara commented on DROOLS-172:
---------------------------------------
Fabian, I'm out of town this week and the connection is bad, sorry if it takes long to
answer.
It is actually expected that two proxies, one for B and one for C, are created. B and C
may expose totally different properties of an underlying object.
I see, however, the problem: the query returns two "A" instances, even if we are
talking about the same "core" object.
Some changes are being merged that improve unwanted side effects of this implementation
choice in "modify", but I didn't work on queries yet.
Can you try if
query "traitA"
a : Object( this isA A )
end
works better?
Multiple proxy instances for same trait
---------------------------------------
Key: DROOLS-172
URL:
https://issues.jboss.org/browse/DROOLS-172
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.Beta3
Reporter: Fabian Meyer
Assignee: Mark Proctor
Priority: Minor
If two traits with the same super trait are don to an object, two proxy instances of the
super trait are created.
!https://dl.dropboxusercontent.com/u/26663016/Trait.png!
--
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