Project

General

Profile

Actions

Refactor #18667

closed

Adapt HostCollectionsController to Rails 4.2.8

Added by Daniel Lobato Garcia about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The controller knowingly tried to assign `@host_collection.host_ids = [array with 2 equal ids]`. In Rails 4.2.8 this throws an exception, as if you try to assign multiple IDs but there's only 1 object that matches all of them, ActiveRecord will say "found 1 results but looking for 2" and throw an exception.

Actions #1

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/Katello/katello/pull/6628 added
Actions #2

Updated by Anonymous about 7 years ago

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

Updated by Eric Helms about 7 years ago

  • translation missing: en.field_release set to 211
Actions

Also available in: Atom PDF