Bug #9221
closederror fetching environment by name
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'"
]
}
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/4977 added
- Pull request deleted (
)
Updated by Justin Sherrill almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|4e15e0efb9ac0362c971fe875bde297848de4163.
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release set to 23