Bug 827617 - content upload rest apis return empty json objects
Summary: content upload rest apis return empty json objects
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: API/integration
Version: 2.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Michael Hrivnak
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-01 20:55 UTC by Jason Connor
Modified: 2014-03-31 01:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-09 17:08:43 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.