Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
Description
The XMLDecoder does not interpret Date fields properly. When decoding and creating a new instance of a class Cayenne does this:
return c.newInstance(new Object[] {
XMLUtil.getText(child)
});
But unfortunately the constructor for Date is different and the decoding process crashes because of this. Please see attached patch for a fix.