| Issue 59: | serializing arrays of types with CustomConverters doesn't work using "memberType" annotation | |
| 1 person starred this issue and may be notified of changes. | Back to list |
1.Create and register a CustomConverter for type "A". 2.Create XMLArray annotation for Array of objects of type "A" 3.Specify memberType parameter of annotation as "A". The expectation is that the serialization will take place using the registered CustomConverter. This does not happen. Work-around is to change line 99 of flexxb.xml.serializer.XmlArraySerializer from var stringValue:String=serializer.converterStore.objectToString(member, xmlArray.type); to var stringValue:String=serializer.converterStore.objectToString(member, xmlArray.memberType); Presumably I should be using "type" instead of "memberType" in my XMLArray annotation. This strikes me as odd as everything else works with memberType, and it is specific to the XMLArray class.
Apr 14, 2012
(No comment was entered for this change.)
Status:
Fixed
|
Labels: Milestone-2.3.1