Project

General

Profile

Bug #16173

strong params filter incorrect for subscription_facet_attributes - cannot update hypervisor_guest_uuids or installed_products

Added by Thomas McKay almost 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Passing hypervisor_guest_uuids or installed_products to PUT /hosts does not update the subscription_facet because params are filtered out due to being an array of hashes and an array of strings respectively

Associated revisions

Revision c282e562 (diff)
Added by Thomas McKay almost 3 years ago

fixes #16173 - fix strong param for subscription_facet

The strong params for arrays and arrays of hashes require different syntax

Revision e12ec359
Added by Thomas McKay over 2 years ago

Merge pull request #6255 from thomasmckay/16173-strong-params

fixes #16173 - fix strong param for subscription_facet

History

#1 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6255 added

#2 Updated by Thomas McKay over 2 years ago

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

Also available in: Atom PDF