Actions
Bug #37763
closedRegistration without environments or environment_id param causes NoMethodError
Description
If you register without passing environments or environment_id params, it chooses the default environment but we forgot to put that in an array.
So it causes
NoMethodError: undefined method `each' for #<Katello::ContentViewEnvironment id: 2, name: "Library", label: "Library", cp_id: ...
Updated by The Foreman Bot 3 months ago
- Status changed from New to Ready For Testing
- Assignee set to Jeremy Lenz
- Pull request https://github.com/Katello/katello/pull/11123 added
Updated by Jeremy Lenz 3 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|a4f1bafaa99bb8ebded72091336729b45d6d4484.
Updated by Chris Roberts about 2 months ago
- Copied to Bug #37829: Registration without environments or environment_id param causes NoMethodError added
Updated by The Foreman Bot about 2 months ago
- Fixed in Releases Katello 4.14.1 added
Actions