Project

Profile

Help

Issue #5650

closed

ContentAdvisoriesApi.read with Ruby bindings returns Ruby hash has as string

Added by iballou about 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
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.

Also available in: Atom PDF