Bug #6747: TypeMarshaller.convertTypeFromType can't convert the v2.Log object to v1.Log object
Create a factory / builder class for converting versioned types.
Not all v2 types can be converted using TypeMarshaller.convertTypeToType().
Propose to make a Factory class to convert between versions, and put in d1_common_java.
#1 Updated by Rob Nahf over 7 years ago
there's an implementation of LogV1toV2 conversion in d1_integration:
convertV1Log method at the end of the class.
#2 Updated by Chris Jones over 7 years ago
We are getting errors on the CN when trying to convert from V1 ObjectFormatList to V2 ObjectFormatList using the TypMarshaller. After discussing this with Jing, we're going to update Metacat code to handle the conversion for now, but this proposed factory would be the most appropriate place to convert lists from lists too.