ocket8888 opened a new pull request, #7268: URL: https://github.com/apache/trafficcontrol/pull/7268
There are currently two problems with DSRs in the legacy APIv3 that this PR fixes. - Creating or deleting a DSR using APIv3 will work as intended, but returns an incorrect response body. It will erroneously use an APIv4 structure in the response. - Creating or updating a DSR in APIv3 without the required `deliveryservice` property triggers a `500 Internal Server Error`, response. It should instead complain that the required field was not present. <hr/> ## Which Traffic Control components are affected by this PR? - Traffic Ops ## What is the best way to verify this PR? Make sure the provided tests pass. You can test manually by just doing the things outlined above that caused the issue. ## If this is a bugfix, which Traffic Control versions contained the bug? - master ## PR submission checklist - [x] This PR has tests - [x] This PR doesn't need documentation - [x] This PR doesn't need a CHANGELOG.md entry - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
