Project

General

Profile

Actions

Bug #12384

closed

capsule content - APIs have unfriendly response when Pulp Node not enabled

Added by Brad Buckingham almost 9 years ago. Updated about 6 years ago.

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

Description

Currently, if a user invokes any of the capsule content APIs for a capsule that does not have the 'Pulp Node' feature, they will see an error similar to the following:
"Couldn't find SmartProxy with id=1 [WHERE "features"."name" IN ('Pulp Node')]"

Ideally, the user shouldn't be presented with a DB 'where' clause as part of the response. In the past, we did have a message to indicate that the action could not be performed; however, it was lost with some refactoring and feature work.

Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5564 added
Actions #2

Updated by Brad Buckingham almost 9 years ago

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

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release set to 86
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF