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.

Actions #1

Updated by ttereshc about 5 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 61
  • Tags Pulp 3 RPM blocker added
Actions #2

Updated by fao89 about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #3

Updated by fao89 about 5 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar about 5 years ago

Revision 64e1e279 | View on GitHub

Fix ruby bindings for UpdateRecord

https://pulp.plan.io/issues/5650 closes #5650

Actions #4

Updated by Anonymous about 5 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by ttereshc about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #6

Updated by bmbouter over 4 years ago

  • Tags deleted (Pulp 3 RPM blocker)

Also available in: Atom PDF