Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0
-
Component/s: Aegis Module
-
Labels:None
-
Number of attachments :
Description
The attribute "type" of element <parameter> is used to differ between overloaded methods. However, in XMLTypeCreator.readMetadata, the attribute is interpreted as a subclass of Type. This results in a ClassCastException in AbstractTypeCreator.createUserType(AbstractTypeCreator.java:133).
Fix: Remove XMLTypeCreator.setType, and register custom Type classes in services.xml or programmatic.
the type attribute is to specify a custom Type class, not specify the type name, so classes should be a subclass of Type. The typeName attribute specifies the name of the type you want pull from the TypeMapping (via typeMapping.getType(qName)).
So I guess I don't see the issue here...