The "complete" response for a GET request to an export type is incorrect

Description

The spec for the response should look like:
{ status: "complete", url: "http://localhost:8080/library/'bookName'/export/pdf/type1"}

However, the following is currently being returned.
{"status": "complete", "downloadSRC": "/library/book/images/pdf/Decapod.pdf"}

Notice that the key for the url should be "url" instead of "downloadSRC". Also, the url is relative instead of a full path.

Environment

None

Activity

Show:

Justin Obara May 18, 2012 at 6:25 PM

Merged into the project repo

Justin Obara April 13, 2012 at 4:06 PM

The big issue of the key being wrong, has been addressed.

Currently in my bitbucket repo:
https://bitbucket.org/jobara/decapod-server-iteration3

The second part, the format of the url, has been filed under https://fluidproject.atlassian.net/browse/DECA-241#icft=DECA-241. It is still usable by the Decapod UI in the current format, though.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created April 13, 2012 at 2:37 PM
Updated May 18, 2012 at 6:25 PM
Resolved May 18, 2012 at 6:25 PM

Flag notifications