The POST from Kahuna to move a Prepared upload into the Queued status always returns HTTP 400.
I think this because the conditional update clause expects the status field of the upload status Dynamo table to contain the string Prepared.
(
|
uploadStatusTable.when(attributeExists("id") and ("status" === Prepared.toString)) |
)
But the StatusType enum is actually persisted in a nested format:
Therefore; the query never matches and uploads never enter the Queued status.
This should show up as the 'queued' status never appearing on the upload status list view and HTTP 400s been visible in the Developer Console will uploading.
The POST from Kahuna to move a Prepared upload into the Queued status always returns HTTP 400.
I think this because the conditional update clause expects the
statusfield of the upload status Dynamo table to contain the stringPrepared.(
grid/image-loader/app/lib/UploadStatusTable.scala
Line 34 in 704c39b
But the StatusType enum is actually persisted in a nested format:
Therefore; the query never matches and uploads never enter the Queued status.
This should show up as the 'queued' status never appearing on the upload status list view and HTTP 400s been visible in the Developer Console will uploading.