Project

General

Profile

Actions

Bug #3915

closed

Hammer does not handle 404s well

Added by Daniel Lobato Garcia over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Hammer should return more informative messages than

Could not create the subnet:
  404 Resource Not Found

or

RestClient::ResourceNotFound (404 Resource Not Found)


when --verbose is set.

https://github.com/theforeman/foreman/pull/1098 needs to be merged for this to happen though.


Related issues 2 (0 open2 closed)

Has duplicate Hammer CLI - Bug #3514: Improve 404 response when a resource isn't foundDuplicate10/25/2013Actions
Blocked by Foreman - Bug #3515: Associated resources not found by ID causes 500 Internal Server ErrorClosedDaniel Lobato Garcia10/25/2013Actions
Actions #1

Updated by Daniel Lobato Garcia over 10 years ago

  • Related to Bug #3515: Associated resources not found by ID causes 500 Internal Server Error added
Actions #2

Updated by Daniel Lobato Garcia over 10 years ago

  • Related to deleted (Bug #3515: Associated resources not found by ID causes 500 Internal Server Error)
Actions #3

Updated by Daniel Lobato Garcia over 10 years ago

  • Blocked by Bug #3515: Associated resources not found by ID causes 500 Internal Server Error added
Actions #4

Updated by Tomáš Strachota over 10 years ago

  • Has duplicate Bug #3514: Improve 404 response when a resource isn't found added
Actions #5

Updated by Tomáš Strachota over 10 years ago

  • Category changed from Hammer core to Foreman commands (obsolete)
  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota

Switched the category to Foreman commands as the handling will be foreman specific.

Actions #6

Updated by Tomáš Strachota over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #7

Updated by Dominic Cleal over 10 years ago

  • Target version set to 1.9.2
Actions #8

Updated by Anonymous over 10 years ago

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

Applied in changeset foreman:hammer-cli-foreman|commit:e34ae228a4c29d01952bf3372ca8598543213b38.

Actions

Also available in: Atom PDF