Project

General

Profile

Actions

Bug #24702

closed

Error while assigning location to a number of hosts that is larger than per_page setting

Added by Stephen Benjamin over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Organizations and Locations
Target version:
-

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1593553

Description of problem:

Version-Release number of selected component (if applicable):

How reproducible: Always

Steps to Reproduce:
1. Navigate to Hosts -> All Hosts
2. In the search box, use a filter like "lifecycle_environment = Library" that will yield a number of servers that is larger than the "Entries per page" setting.
3. select the check box that selects all hosts on this page and then select "Select all <no> hosts"
4. click on "Select Action" and select "Assign Location" from the drop-down box
5. select Fix Location on Mismatch and a location.
6. click Submit

Actual results:
Oops, we're sorry but something went wrong ERROR: missing FROM-clause entry for table "katello_environments" LINE 1: ..." WHERE "hosts"."type" IN ('Host::Managed') AND (("katello_e... ^

Expected results:
It should not show any error message

Additional info:
Similarly
Assign Organization produces a similar error when filter used "organization = <org-name>"
Oops, we're sorry but something went wrong ERROR: missing FROM-clause entry for table "taxonomies" LINE 1: ...Managed') AND "hosts"."organization_id" = 1 AND (("taxonomie... ^


Related issues 1 (1 open0 closed)

Related to Discovery - Bug #25095: Discovered host assign organization or assign location failureNewActions
Actions

Also available in: Atom PDF