Hi All,
I been working with couchbase lite android with new jar file, The latest post 1.0 master branch build is here:
http://factory.couchbase.com/job/build_cblite_android_master/396/artifact/couchbase-lite-0.0.0-396-android-community.zip. Here when i update document some times it not updating the document we are getting exception
like.
Here is my code like:Document ticketDocument = .database.getDocument(bundle.getString(ticketId));
HashMap<String,Object> currentProperties = ticketDocument.getProperties();
// make a copy of the ticketDocumentument properties
Map<String, Object> newProperties = new HashMap<String, Object>();
newProperties.putAll(currentProperties);
//my changes fileds
newPropeties.put("archived","true");
//updating the document
ticketDocument.putProperties(newProperties);
like that am doing some times it not updating throws exception like above link.and also i observed if i update the same document 3 or more times also i am facing same problem.
is there any suggestion for this problem.
thank's
prasanna