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 over 2 years ago. Updated 7 months 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 over 2 years ago

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

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

#3 Updated by Justin Sherrill over 2 years ago

  • Legacy Backlogs Release (now unused) set to 162

Also available in: Atom PDF