[jboss-jira] [JBoss JIRA] Created: (JBRULES-768) Object based enums do not work

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sat Mar 31 22:21:18 EDT 2007


Object based enums do not work
------------------------------

                 Key: JBRULES-768
                 URL: http://jira.jboss.com/jira/browse/JBRULES-768
             Project: JBoss Rules
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.1-m1
            Reporter: Mark Proctor
         Assigned To: Mark Proctor
             Fix For: 3.1-m2


Some how a toString() was introduced for the static field code, which breaks object based enums:
                field = FieldFactory.getFieldValue( staticClass.getField( fieldName ).get( null ).toString(),
                                                    extractor.getValueType() );


-- 
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