Project

General

Profile

Actions

Bug #3137

closed

API v2 - show error if nested object does not exist for nested route

Added by Joseph Magen over 10 years ago. Updated almost 6 years ago.

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

Description

GET /api/environments/asjkf/puppetclasses currently returns that same as api/puppetclasses with no error that environment 'asjkf' doesn't exist

This is happens with before_filter :find_optional_nested_object since nested_obj can be nil.

Actions #1

Updated by Joseph Magen over 10 years ago

  • Target version set to 1.15.0
Actions #2

Updated by Joseph Magen over 10 years ago

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

Updated by Dominic Cleal over 10 years ago

  • Target version changed from 1.15.0 to 1.10.0
Actions #4

Updated by Dominic Cleal over 10 years ago

  • translation missing: en.field_release set to 2
Actions #5

Updated by Anonymous over 10 years ago

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

Also available in: Atom PDF