Project

General

Profile

Actions

Bug #7352

closed

Missing DNS record should return 404 not 400 for DELETE

Added by Greg Sutcliffe over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DNS
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

$ curl -X DELETE http://localhost:8443/dns/wheezy506.sapphire.elysium.emeraldreverie.org

DNS virsh provider error: unable to retrive virsh info: Cannot find DNS entry for wheezy506.sapphire.elysium.emeraldreverie.org%

[2014-09-04 12:13:49] INFO WEBrick::HTTPServer#start: pid=25330 port=8443
sapphire.elysium.emeraldreverie.org - - [04/Sep/2014:12:13:50 BST] "DELETE /dns/wheezy506.sapphire.elysium.emeraldreverie.org HTTP/1.1" 400 127
- -> /dns/wheezy506.sapphire.elysium.emeraldreverie.org

We should return 404 not 400 when the DELETE operation can't find the record


Related issues 1 (0 open1 closed)

Has duplicate Smart Proxy - Bug #7375: Smart proxy return 400 when DNS entry not foundDuplicateShlomi Zadok09/08/2014Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Has duplicate Bug #7375: Smart proxy return 400 when DNS entry not found added
Actions #2

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.4
  • Pull request https://github.com/theforeman/smart-proxy/pull/211 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Assignee set to Shlomi Zadok
Actions #4

Updated by Anonymous over 9 years ago

  • Target version changed from 1.7.4 to 1.7.3
Actions #5

Updated by Dominic Cleal over 9 years ago

  • Target version changed from 1.7.3 to 1.7.2
Actions #6

Updated by Shlomi Zadok over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Dominic Cleal over 9 years ago

  • translation missing: en.field_release set to 21
Actions

Also available in: Atom PDF