Project

General

Profile

Actions

Bug #6970

closed

Content Host : bulk actions are broken

Added by Brad Buckingham over 10 years ago. Updated over 6 years ago.

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

Description

There appear to be a couple of issues in the content host bulk actions. The issues are regressions from recent changes.

The first issue is:
1. go to Hosts -> Content Hosts
2. select one or more hosts from the list
3. click 'Bulk Actions'
4. click 'Unregister Content Hosts'

Observe error indicating: "You are not authorized to perform this action."
Note: a similar error can occur for any bulk action that hits the systems_bulk_actions_controller

Once the first issue is solved:
1. go to Hosts -> Content Hosts
2. select one or more hosts from the list
3. click 'Bulk Actions'
4. click 'Errata'

Observe error in log indicating:
Completed 400 Bad Request in 91.2ms (Views: 0.5ms | ActiveRecord: 1.3ms)
With body: {"displayMessage":"Cannot sort by 'name'","errors":["Cannot sort by 'name'"]}

Actions #1

Updated by The Foreman Bot over 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4538 added
  • Pull request deleted ()
Actions #2

Updated by Brad Buckingham over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms over 10 years ago

  • Translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF