Bug #16369
Error undefined method inject' for nil:NilClass when no subscriptions are provided to bulk add/remove APi
Team Backlog:
Fixed in Releases:
Found in Releases:
Description
If you attempt to update bulk subscriptions without providing any you get the above error instead of a suitable error message.
You can reproduce this via curl or in the UI by removing the disabled attribute of the button and clicking on it.
Associated revisions
History
#1
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/6284 added
#2
Updated by Anonymous over 2 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|d684dd8112e3028af911bf9e2af4a02ff48fe526.
#3
Updated by Justin Sherrill over 2 years ago
- Legacy Backlogs Release (now unused) set to 162
Fixes #16369 - Better error message for blank subs (#6284)