DECA-240: The "complete" response for a GET request to an export type is incorrect

Metadata

Source
DECA-240
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2012-04-13T10:37:35.804-0400
Updated
2012-05-18T14:25:38.891-0400
Versions
N/A
Fixed Versions
  1. 0.5
Component
  1. Server

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.

Comments

  • Justin Obara commented 2012-04-13T12:06:41.578-0400

    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 DECA-241. It is still usable by the Decapod UI in the current format, though.

  • Justin Obara commented 2012-05-18T14:25:34.393-0400

    Merged into the project repo