DECA-144: Refreshing capture page drops all captured images from the ui

Metadata

Source
DECA-144
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2010-07-15T15:56:53.897-0400
Updated
2012-01-10T09:40:13.798-0500
Versions
N/A
Fixed Versions
  1. 0.4
Component
  1. Capture

Description

Steps to reproduce:

1) load the server and navigate to the capture page

2) capture a few images

3) click refresh on the browser
Notice that all of the captured images are no longer present. The thumbnail cells are still there but are empty.

Comments

  • Justin Obara commented 2010-07-19T12:53:11.392-0400

    Bug Parade Decapod 0.4

  • Justin Obara commented 2010-07-19T13:09:52.981-0400

    It appears the the urls are coming back incorrectly on a page reload.

    Here is the return value after posting the images:

    {"spread": "/book/capturedImages/decapod-0001-mid-decapod-0002-mid.png", "right": "/book/capturedImages/decapod-0002.jpg", "thumb": "/book/capturedImages/decapod-0001-mid-decapod-0002-mid-thumb.png", "left": "/book/capturedImages/decapod-0001.jpg"}

    Here is the return value from the get after reloading:

    [{"spread": "${book}/capturedImages/decapod-0001-mid-decapod-0002-mid.png", "right": "${book}/capturedImages/decapod-0002.jpg", "thumb": "${book}/capturedImages/decapod-0001-mid-decapod-0002-mid-thumb.png", "left": "${book}/capturedImages/decapod-0001.jpg"}]

  • Colin Clark commented 2010-07-19T17:11:40.660-0400

    This issue was resolved at revision d3abd3b12a99, along with web tests that show the issue and the fix.