You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/07/29 15:12:16 UTC
[GitHub] [couchdb] mojito317 opened a new issue #3684: 404 at deletion of an existing attachment when using wrong rev
mojito317 opened a new issue #3684:
URL: https://github.com/apache/couchdb/issues/3684
[NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ )
## Description
[NOTE]: # ( Describe the problem you're encountering. )
[TIP]: # ( Do NOT give us access or passwords to your actual CouchDB! )
https://github.com/apache/couchdb/pull/3673 _created_ a bug. When we try to DELETE an existing attachment with an invalid rev we get a `404` instead `409`.
## Steps to Reproduce
* Create a document with an attachment
* Try to DELETE it with an invalid rev like `4-somegarbage`
## Expected Behaviour
The response code should be `409`, not `404` similarly to PUT.
## Your Environment
[TIP]: # ( Include as many relevant details about your environment as possible. )
[TIP]: # ( You can paste the output of curl http://YOUR-COUCHDB:5984/ here. )
* CouchDB version used: 3.x, after the f31e92 commit
* Browser name and version: cURL
* Operating system and version: MacOS Big Sur 11.3.1 (20E241)
## Additional Context
[TIP]: # ( Add any other context about the problem here. )
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #3684: 404 at deletion of an existing attachment when using wrong rev
Posted by GitBox <gi...@apache.org>.
nickva commented on issue #3684:
URL: https://github.com/apache/couchdb/issues/3684#issuecomment-890275881
These PRs should fix it https://github.com/apache/couchdb/pull/3687 https://github.com/apache/couchdb/pull/3686
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #3684: 404 at deletion of an existing attachment when using wrong rev
Posted by GitBox <gi...@apache.org>.
nickva commented on issue #3684:
URL: https://github.com/apache/couchdb/issues/3684#issuecomment-889465405
Thanks for the bug report @mojito317
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva closed issue #3684: 404 at deletion of an existing attachment when using wrong rev
Posted by GitBox <gi...@apache.org>.
nickva closed issue #3684:
URL: https://github.com/apache/couchdb/issues/3684
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org