Actions
Issue #5650
closedContentAdvisoriesApi.read with Ruby bindings returns Ruby hash has as string
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Katello-P2
Sprint:
Sprint 61
Quarter:
Description
When I read an individual erratum, there's at least one hash that's sent as a Ruby string rather than JSON. Example:
13:52:32 rails.1 | "pkglist"=>
13:52:32 rails.1 | ["{:name=>\"1\", :shortname=>\"\", :packages=>[{:arch=>\"noarch\", :epoch=>\"0\", :filename=>\"bear-4.1-1.noarch.rpm\", :name=>\"bear\", :reboot_suggested=>false, :release=>\"1\", :src=>\"http://www.fedoraproject.org\", :sum=>\"\", :sum_type=>\"\", :version=>\"4.1\"}]}"],
13:52:32 rails.1 | "references"=>[]}
Looks like perhaps "references" is in the same boat.
Actions
Fix ruby bindings for UpdateRecord
https://pulp.plan.io/issues/5650 closes #5650