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

Geoffrey De Smet (JIRA) jira-events at jboss.com
Thu Dec 7 08:20:55 EST 2006


    [ http://jira.jboss.com/jira/browse/JBRULES-575?page=comments#action_12348309 ] 
            
Geoffrey De Smet commented on JBRULES-575:
------------------------------------------

Edson thinks it's due to overridden/implemented methods, so here's my full class description:

public class Match extends AbstractPersistable
        implements Comparable<Match>, Solution {
    // ...

    // Implemented from Comparable<Match>
    public int compareTo(Match lesson) {

    // Overwritten from Object, implemented from Solution
    public Match clone() {

    // Overwritten from AbstractPersistable
    public String toString() {
}


> 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: Mark Proctor
>            Priority: Critical
>
> 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