Project

General

Profile

Actions

Bug #21897

closed

Select all on errata content hosts page does not work with a search

Added by Walden Raines about 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Request:

{
    "included": {
        "ids": [],
        "resources": [],
        "params": {
            "organization_id": "1",
            "paged": true,
            "page": 1,
            "per_page": "20",
            "search": "name= awesome-client.sat-r220-10.example.com" 
        }
    },
    "excluded": {
        "ids": []
    },
    "errata_ids": ["RHEA-2012:0055"],
    "organization_id": "1" 
}

Response:

{
    "displayMessage": "No hosts have been specified.",
    "errors": ["No hosts have been specified."]
}

Steps to Reproduce:

  1. Go to errata page
  2. Select on or more errata and click apply
  3. Select all content hosts using the checkbox and then click "select all _" (requires https://github.com/Katello/katello/pull/7086)
  4. Click next
  5. Note above error

Related issues 1 (0 open1 closed)

Blocks Katello - Bug #21789: Errata apply does not support true 'select all' hostsClosedWalden Raines11/27/2017Actions
Actions #1

Updated by Walden Raines about 7 years ago

  • Blocks Bug #21789: Errata apply does not support true 'select all' hosts added
Actions #2

Updated by Justin Sherrill about 7 years ago

  • Translation missing: en.field_release set to 284
Actions #3

Updated by Brad Buckingham about 7 years ago

  • Target version changed from 236 to 240
Actions #4

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 240 to 242
Actions #5

Updated by Justin Sherrill almost 7 years ago

  • Bugzilla link set to 1532448
Actions #6

Updated by Justin Sherrill almost 7 years ago

This seemed to work fine for me:

POST http://dev.example.com:3000/api/v2/hosts/bulk/available_incremental_updates

{"included": {
  "ids": [], "search": "name = dev.example.com"}, 
  "excluded": {"ids": []
  }, 
 "errata_ids": ["RHEA-2012:0055"], 
 "organization_id": "1"}

Actions #7

Updated by Justin Sherrill almost 7 years ago

  • Status changed from New to Rejected
Actions #8

Updated by John Mitsch over 6 years ago

  • Translation missing: en.field_release changed from 284 to 352
Actions

Also available in: Atom PDF