mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Description: Modified the IdentityTypeAdapter's custom serializer to identify whether this is an exception response that is being serialized, by checking if the idFieldName is set. If so, serialize both uuid and the uuidProperty (for eg, zoneId and "zoneId" (string)) and pass back the json representation of that. Modified XML serializer also to build a list of uuids+fieldnames. Introduced a new field "cserrorcode" in ExceptionResponse. This refers to an error code that can be according to the specific Exception being thrown. This will be serialized as usual. There shouldn't be any need to do a db lookup for conversion for these error codes.