ocket8888 opened a new issue, #6794:
URL: https://github.com/apache/trafficcontrol/issues/6794

   ## This Bug Report affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   When assigning one or more Federation Resolvers to a Federation using 
`/federations/{{ID}/federation_resolvers`, if any of the given `fedResolverIds` 
entries cannot be found in the TODB, Traffic Ops will return a `500 Internal 
Server Error` response.
   
   ## Expected behavior:
   When a request value is improper, the response code should be on the 
interval [400,500).
   
   ## Steps to reproduce:
   1. Create a CDN Federation and assign it to your user.
   2. `topost -fkp federations/1/federation_resolvers '{"fedResolverIds": 
[-1]}'` (assuming the created CDN Federation's ID is `1`).


-- 
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]

Reply via email to