Details
-
Bug
-
Status: Resolved
-
High
-
Resolution: Done
-
Oxygen, Fluorine, Neon, Fluorine SR1
-
None
-
Tested with json rpc but shows with other data too too.
Description
The new 8040 code returns bogus errors when trying to create data resources which already exist via post.
Instead of returning 409 (same as the old code) or another appropriate 4xx code for a conflict it returns 503 - server failed. This is broken, there is no server failure, the server did its job and determined that a conflict is in place. It should neither pollute the logs nor return bogus error codes to the client.
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 79567,1 | Propagate error status codes correctly | master | netconf | Status: MERGED | +2 | +1 |
| 79568,1 | Propagate error status codes correctly | stable/fluorine | netconf | Status: MERGED | +2 | +1 |