Creating->deleting->creating a document produces a deleted conflict.
--------------------------------------------------------------------
Key: COUCHDB-874
URL: https://issues.apache.org/jira/browse/COUCHDB-874
Project: CouchDB
Issue Type: Bug
Affects Versions: 1.0.1, 0.10, 0.12
Environment: Ubuntu 10.04 (64-bit) and CouchDB 0.10
Reporter: Christian Siegert
Creating a document, deleting it and creating it again with the same id but
different content produces a deleted conflict. The code below reproduces the
behavior.
#!/bin/sh
# No deleted conflict
URL="http://localhost:5984/db"
curl -X DELETE $URL
curl -X PUT $URL
curl -X PUT -d '{}' $URL/doc
curl -X DELETE $URL/doc?rev=1-967a00dff5e02add41819138abb3284d
curl $URL/doc
curl -X PUT -d '{}' $URL/doc
curl $URL/doc?meta=true
#!/bin/sh
# deleted conflict
URL="http://localhost:5984/db"
curl -X DELETE $URL
curl -X PUT $URL
curl -X PUT -d '{}' $URL/doc
curl -X DELETE $URL/doc?rev=1-967a00dff5e02add41819138abb3284d
curl $URL/doc
curl -X PUT -d '{"foo":"bar"}' $URL/doc
curl $URL/doc?meta=true
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.