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