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.
Updated by ttereshc about 5 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 61
- Tags Pulp 3 RPM blocker added
Updated by fao89 about 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by fao89 about 5 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar about 5 years ago
Updated by Anonymous about 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset 64e1e2797bb90b86144e52ad165645f396cf0c8e.
Updated by ttereshc about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fix ruby bindings for UpdateRecord
https://pulp.plan.io/issues/5650 closes #5650