Bug 1015290 - importer delete has empty response
Summary: importer delete has empty response
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: API/integration
Version: Master
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 2.3.0
Assignee: Barnaby Court
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks: 965283
TreeView+ depends on / blocked
 
Reported: 2013-10-03 20:06 UTC by Michael Hrivnak
Modified: 2013-10-07 17:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-07 17:55:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Hrivnak 2013-10-03 20:06:42 UTC
Description of problem:

When using the REST API to delete an importer from a repo, the response body is empty.


Version-Release number of selected component (if applicable):
master

How reproducible:
always

Steps to Reproduce:
1. $ pulp-admin rpm repo create --repo-id=foo
2. using pic...
3. pic.DELETE('/pulp/api/v2/repositories/foo/importers/yum_importer/')

Actual results:

Response Body
null
(200, None)


Expected results:

a task ID and other taks-related things.


Additional info:

The importer does get deleted, so it's just the HTTP response that is broken.

Comment 1 Barnaby Court 2013-10-07 15:48:28 UTC
This returns 200 and no task body in the case where the delete happened immediately.  If the delete does not happen immediately a task body will be returned.


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