Project

General

Profile

Actions

Bug #9221

closed

error fetching environment by name

Added by Justin Sherrill about 9 years ago. Updated over 5 years ago.

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

Description

Performing:

GET /katello/api/v2/organizations/1/environments/?name=Library

results in error:

{
"displayMessage": "PG::UndefinedTable: ERROR: missing FROM-clause entry for table \"katello_environments\"\nLINE 1: ...T \"environments\".\"id\") FROM \"environments\" WHERE \"katello_e...\n ^\n: SELECT DISTINCT COUNT FROM \"environments\" WHERE \"katello_environments\".\"organization_id\" = 1 AND \"katello_environments\".\"name\" = 'Library'",
"errors": [
"PG::UndefinedTable: ERROR: missing FROM-clause entry for table \"katello_environments\"\nLINE 1: ...T \"environments\".\"id\") FROM \"environments\" WHERE \"katello_e...\n ^\n: SELECT DISTINCT COUNT FROM \"environments\" WHERE \"katello_environments\".\"organization_id\" = 1 AND \"katello_environments\".\"name\" = 'Library'"
]
}

Actions #1

Updated by The Foreman Bot about 9 years ago

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

Updated by Justin Sherrill about 9 years ago

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

Updated by Justin Sherrill about 9 years ago

  • Bugzilla link set to 1190025
Actions #4

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release set to 23
Actions

Also available in: Atom PDF