couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Stott <>
Subject replication bug
Date Mon, 23 Aug 2010 19:57:32 GMT
I've identified a bug in replication in couchdb.

Here are the steps to reproduce:

Create a user named "bubba"
Create a database with a design document that has attachments.
Make this database have "bubba" as an admin and set a reader role of "readme"

Try to replicate this DB on another machine with credentials for bubba
in the URL (http://bubba:password@remotemachine:port/mydb)

You will receive 401s in the log in attachments.  It does not matter
whether you give bubba the "readme" role or not, the results are the
same.  Remove the attachment and the design doc will replicate fine.
Remove the "readers" from the security object of the DB and the desing
doc will replicate fine.

This is tested and reproduced on 1.0.1

View raw message