[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-575) Shadow facts break when a fact Class has 2 properties (with a different name) of the same fact class

Edson Tirelli (JIRA) jira-events at jboss.com
Thu Dec 14 17:08:14 EST 2006


     [ http://jira.jboss.com/jira/browse/JBRULES-575?page=all ]

Edson Tirelli resolved JBRULES-575.
-----------------------------------

    Fix Version/s: 3.1-m1
       Resolution: Done


Geoffrey, thank you for reporting. Fix commited into trunk in revision 8332.

$ svn log -r 8332 -v
------------------------------------------------------------------------
r8332 | tirelli | 2006-12-14 19:02:58 -0300 (Thu, 14 Dec 2006) | 1 line
Changed paths:
   M /labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/ShadowProxyFactory.java

JBRULES-575: filtering overriden methods based on the return type
------------------------------------------------------------------------

As this is a problem specific to java 5+, I could not commit the test cases, but all of those I tested here are now working just fine.

Please, check and let me know if you have any other issue.

Regards,
Edson

> Shadow facts break when a fact Class has 2 properties (with a different name) of the same fact class
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-575
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-575
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1-m1
>            Reporter: Geoffrey De Smet
>         Assigned To: Edson Tirelli
>            Priority: Critical
>             Fix For: 3.1-m1
>
>
> See user mailing list: [trunk] Repetitive field name/signature in class
> ava.lang.ClassFormatError: Repetitive field name/signature in class file net/sf/taseree/samples/travelingtournament/domain/MatchShadowProxy
> Here's my Match class:
> public class Match extends AbstractPersistable implements Comparable<Match>, Solution {
>     private Team homeTeam;
>     private Team awayTeam;
>     private Day day;
>     // getters, setters, clone(), toString()
> }
> AbstractPersistable has a Long id with getters/setters
> I will make a testcase with Cheese and provide a testcase patch, but it seems the trunk's pom's don't do "mvn idea:idea" properly, like the branch did,
> so I 'll provide a pom.xml patch first :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list