Project

General

Profile

Actions

Bug #21896

open

Bulk content hosts not working with lifecycle environment

Added by Walden Raines over 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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
Actions

Also available in: Atom PDF