shamblett/sporran

Conflict raised in scenario 1 test

Closed this issue · 0 comments

Step 8.8 of scenario 1 test produces this output in the console -

'Failed to load resource: the server responded with a status of 409 (Conflict)
http://localhost:8085/sporrantest/8docid1/AttachmentName2?rev=1-7f41a3aefb558a21933ed8600fc0b6a9
Exception: Uncaught Error: Instance of '_XMLHttpRequestProgressEvent'

We seem to be writing an attachment back to CouchDB with the wrong document revision, this needs looking at. That said the test completes successfully and inspection of both CouchDB and local storage shows the contents as they should be at the end of this scenario.