Bug #21896

Bulk content hosts not working with lifecycle environment

Added by Walden Raines 6 months ago. Updated 3 months ago.

Status:New
Priority:Normal
Assigned To:-
Category:API
Target version:Team Brad - Backlog
Difficulty: Pull request:
Bugzilla link: Found in Katello release:
Story points-
Velocity based estimate-
ReleaseKatello BacklogRelease relationshipAuto

Description

Request:

{
    "included": {
        "ids": [],
        "resources": [],
        "search": " lifecycle_environment= dev",
        "params": {
            "organization_id": "1",
            "search": " lifecycle_environment= dev",
            "sort_by": "name",
            "sort_order": "ASC",
            "paged": true,
            "page": 1,
            "per_page": "20" 
        }
    },
    "excluded": {
        "ids": []
    },
    "paged": true,
    "page": 1,
    "per_page": "20",
    "search": "",
    "organization_id": "1" 
}

Response:

{
    "organization": {},
    "total": 81,
    "subtotal": null,
    "page": null,
    "per_page": null,
    "error": "Field 'lifecycle_environment' not recognized for searching!",
    "search": " lifecycle_environment= dev",
    "sort": {
        "by": null,
        "order": "ASC" 
    },
    "results": []

Steps to Reproduce:

  1. Go to content hosts page
  2. Search for a lifecycle environment using the autocomplete search
  3. Click select action and then any of the actions (manage errata, subscriptions, etc.)
  4. Note above response

History

#1 Updated by Walden Raines 6 months ago

Walden Raines wrote:

Steps to Reproduce:

  1. Go to content hosts page
  2. Search for a lifecycle environment using the autocomplete search
  3. Click select action and then any of the actions (manage errata, subscriptions, etc.)
  4. Note above response
  1. Go to content hosts page
  2. Search for a lifecycle environment using the autocomplete search
  3. Select all content hosts using the checkbox and then the "select all _" link
  4. Click select action and then any of the actions (manage errata, subscriptions, etc.)
  5. Note above response

#2 Updated by Justin Sherrill 6 months ago

  • Release set to Katello Backlog

Also available in: Atom PDF