Bug 827617

Summary: content upload rest apis return empty json objects
Product: [Retired] Pulp Reporter: Jason Connor <jconnor>
Component: API/integrationAssignee: Michael Hrivnak <mhrivnak>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0.6CC: mhrivnak, mmccune
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 17:08:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Connor 2012-06-01 20:55:13 UTC
{} gets translated an object with no fileds in javascript
If we return an empty body, please pass in None, which will get translated into null

Comment 1 Michael Hrivnak 2012-06-26 20:39:30 UTC
Can you be more specific about the circumstances under which this is happening?  For example, what specific call(s) can cause this?

Comment 2 Michael Hrivnak 2012-07-05 19:08:07 UTC
jconnor, please confirm if this addresses all of the problem areas. I found two methods that were returning empty dicts.

http://git.fedorahosted.org/git/?p=pulp.git;a=commitdiff;h=1f1ffa8f

Comment 3 Michael Hrivnak 2012-07-05 20:20:35 UTC
Solution was approved by jconnor via email.

Comment 4 Jeff Ortel 2012-07-12 21:51:35 UTC
build: 0.313

Comment 5 Preethi Thomas 2013-01-09 17:08:43 UTC
Pulp v2.0 released