Project

General

Profile

Bug #16369

Error undefined method inject' for nil:NilClass when no subscriptions are provided to bulk add/remove APi

Added by Walden Raines almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
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

Revision d684dd81 (diff)
Added by Partha Aji almost 3 years ago

Fixes #16369 - Better error message for blank subs (#6284)

History

#1 Updated by The Foreman Bot almost 3 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 almost 3 years ago

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

#3 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 162

Also available in: Atom PDF