Closed GoogleCodeExporter closed 8 years ago
What version of CouchDB are you using in both instances? ... The digest
property was added in CouchDB 1.1.0, so I'm guessing you have a version before
1.1.x on Windows and a version 1.1.0 or later on Linux.
Original comment by smoye...@gmail.com
on 29 Feb 2012 at 11:13
Thanks For your reply.
your guess is correct there is difference between 2 versions.
issue was fixed after adding patch into jcouchdb jar.
Original comment by bornaresagar@gmail.com
on 1 Mar 2012 at 7:45
This issue is fixed in the 1.1.0-1 branch. I'll be adding the branch to my CI
system and should have JARs for everyone to use soon, but for now, you'll have
to check out the code and run "mvn install".
Original comment by smoye...@gmail.com
on 23 Apr 2012 at 12:01
HI,
I have created document with attachment, when i try to update the document. I
am getting the following exception. I am using JcouchDB api..Below is the
exception thrown
BaseDocument doc = (BaseDocument)
db.getDocument(BaseDocument.class,”image1″);
——————————————————————————��
�——————–
Exception in thread “main” org.svenson.JSONParseException: Cannot set
property digest on class org.jcouchdb.document.Attachment
at org.svenson.JSONParser.parseObjectInto(JSONParser.java:589)
at org.svenson.JSONParser.parseObjectInto(JSONParser.java:620)
at org.svenson.JSONParser.parseObjectInto(JSONParser.java:620)
at org.svenson.JSONParser.parse(JSONParser.java:391)
at org.svenson.JSONParser.parse(JSONParser.java:367)
at org.jcouchdb.db.Response.getContentAsBean(Response.java:158)
at org.jcouchdb.db.Database.getDocumentInternal(Database.java:317)
at org.jcouchdb.db.Database.findDocument(Database.java:280)
at com.demo.couch.CouchImageAttach.updateAttachment(CouchImageAttach.java:55)
at com.demo.couch.CouchImageAttach.main(CouchImageAttach.java:23)
Original comment by girish.m...@gmail.com
on 13 Dec 2013 at 7:49
Original issue reported on code.google.com by
bornaresagar@gmail.com
on 6 Feb 2012 at 9:34