Open judell opened 10 years ago
So what's happening is that 'something' went wrong inside of CouchBase which causes it to produce a non-specific error with a bad error code. Seehere. Were you running the PouchDB test file I put in? If so that would explain the problem. As I mentioned in mylast weekly status (and as you referenced above) there appears to be a problem with deleting a database that has active replications against it. I was going to debug that yesterday but I got sucked into setting up my new laptop. Well it's set up so I can now investigate!Please let me know though if you were running the test script.
Yes, that was coming from the test script. But please see my current adventure unfolding here:http://thali.cloudapp.net/mediawiki/index.php?title=Application_Development_in_Thali
So the delete problem has at least two parts. One is https://github.com/couchbase/couchbase-lite-java-core/issues/134. The other I'm still investigating.The 409 problem is because of PouchDB. The specific problem is https://github.com/couchbase/couchbase-lite-java-core/issues/75. For now I work around it by doing some fairly nasty mapping inside of the web bridge. This screws up the errors you see.
Delete issue: OK, I am working around that for now.Errors: Good to know. As I work through porting some initial apps to Thali, and document the process athttp://thali.cloudapp.net/mediawiki/index.php?title=Application_Development_in_Thali, I'll be comparing Pouch/IndexedDB to Pouch/Thali and noting discrepancies.
Running Production/Utilities/DotNetUtilities/DotNetUtilities/ChromeExtension/test.html on the Java TDH I observe this in the Chrome console: