Nolan Lawson created COUCHDB-3214:
-------------------------------------

             Summary: validate_doc_update with a JS error causes DB to be 
unmodifiable
                 Key: COUCHDB-3214
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3214
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
            Reporter: Nolan Lawson


STR:

1. Create a _design doc with a JS eval error, e.g. 
{{"validate_doc_update":"function () { console.log(varThatDoesNotExist); }"}}

Expected result: I can at least modify the design doc to fix the error.

Actual result: the database can never be modified again. The only solution is 
to delete the whole database and create a new one.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to