nlight-jdev / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

Attachment revpos as string causing error in 0.11 #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. using couchdb 0.11
2. save a document and add an attachment
3. read the document
4. save the document

What is the expected output? What do you see instead?
Expect that the document is saved.  Receive an error from couchdb instead.

What version of the product are you using? On what operating system?
Tested on 0.10 and 0.11 on OS X and Ubuntu.

Please provide any additional information below.

The problem appears to be that revpos is a string.  It works if it is converted 
to a long.  I can't 
find any couchdb documentation that explicitly says what it is supposed to be.

It works fine in 0.10.

I have attached a modified LocalDatabaseTestCase that reproduces the problem.

Original issue reported on code.google.com by cory.hac...@gmail.com on 11 May 2010 at 4:41

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r256.

Original comment by ff...@gmx.de on 14 May 2010 at 12:08

GoogleCodeExporter commented 8 years ago
Issue 71 has been merged into this issue.

Original comment by smoye...@gmail.com on 23 Apr 2012 at 12:38