Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
-
SDK12: Scp Fnc, FIT, Misc, SDK14: CLoE + Others
Description
Root Issue
This failure is due to how we serialize Exceptions and send them back to the driver as a JSON string. Enums can either be serialized using their value, or their member names. There are caveats and things we could change in the SDK/Performer, but the simplest way is to have the Driver accept both error codes and error names for .NET.
An enum member BadRequest = 400 can either be serialized as "BadRequest" or "400". Different Driver tests require either (e.g. in NCBC-3731 the Driver expects "503" but receives "ServiceUnavailable". In NCBC-3697 the Driver expects to see "CollectionNotFound", but the Performer (used to) send the enum value "21").
Attachments
Issue Links
- relates to
-
NCBC-3731 FIT Performer: Wrong value returned for httpStatus in Query118XCodeTest
- Closed