You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
Router unable to route request to do_GET_DesignDocumentcom.couchbase.lite.CouchbaseLiteException: Cannot index view foo1/foo1: no map block registered, Status: 400 (HTTP 400 bad_request) is returned when querying a design document, after app is restarted and new documents are added to the database.
Reproducing
Install Cordova HelloWorld app with cordova@6.5.0, cordova-android@6.4.0, couchbase-lite-phonegap-plugin@1.4.4
Create a DB
Add a design doc that is only map: function(doc) { emit(doc._id, {}); }.toString()
Add some dummy documents
Query the design doc -> Query works and documents are returned
Close the app and restart it
Query the design doc -> Query works and documents are returned
Add some dummy documents
Query the design doc -> HTTP 400 is returned
Same issue can be reproduced by eg installing an older version of CBL, creating the db and documents, then during the restart updating to v1.4.4.
Router unable to route request to do_GET_DesignDocumentcom.couchbase.lite.CouchbaseLiteException: Cannot index view foo1/foo1: no map block registered, Status: 400 (HTTP 400 bad_request)
is returned when querying a design document, after app is restarted and new documents are added to the database.Reproducing
cordova@6.5.0
,cordova-android@6.4.0
,couchbase-lite-phonegap-plugin@1.4.4
map: function(doc) { emit(doc._id, {}); }.toString()
Same issue can be reproduced by eg installing an older version of CBL, creating the db and documents, then during the restart updating to v1.4.4.
Reproduced with:
cordova@6.5.0
,cordova-android@6.4.0
,couchbase-lite-phonegap-plugin@1.4.4
Not reproduced with:
cordova@6.5.0
,cordova-android@6.4.0
,couchbase-lite-phonegap-plugin@1.3.1
cordova@6.5.0
,cordova-android@6.4.0
,couchbase-lite-phonegap-plugin@1.4.1
The text was updated successfully, but these errors were encountered: