ocket8888 opened a new pull request #5094:
URL: https://github.com/apache/trafficcontrol/pull/5094


   ## What does this PR (Pull Request) do?
   
   - [x] This PR fixes #4738 
   
   Fixes an issue where creating a Delivery Service with a non-existent 
Topology caused an Internal Server Error. It now instead returns a 409 Conflict 
response with an error stating that the Topology does not exist.
   
   
   ## Which Traffic Control components are affected by this PR?
   - Traffic Ops
   
   No docs changes because it's just a bug fix.
   
   ## What is the best way to verify this PR?
   Try to create a Delivery Service with a non-existent Topology - easiest is 
probably just an empty string: `""` - and observe that the returned error is in 
the client error range with an appropriate alert.
   
   ## If this is a bug fix, what versions of Traffic Control are affected?
   - master
   
   ## The following criteria are ALL met by this PR
   - [x] This PR includes tests OR I have explained why tests are unnecessary
   - [x] This PR includes documentation OR I have explained why documentation 
is unnecessary
   - [x] This PR includes an update to CHANGELOG.md OR such an update is not 
necessary
   - [x] This PR includes any and all required license headers
   - [x] This PR ensures that database migration sequence is correct OR this PR 
does not include a database migration
   - [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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to