You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Stockton (JIRA)" <ji...@apache.org> on 2011/01/19 23:20:44 UTC

[jira] Created: (COUCHDB-1030) View Cleanup - Certain properties cause failure with blank error messages

View Cleanup - Certain properties cause failure with blank error messages
-------------------------------------------------------------------------

                 Key: COUCHDB-1030
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1030
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
    Affects Versions: 0.11.1
         Environment: Linux
            Reporter: Chris Stockton
            Priority: Minor


When creating a design document with a property such as language, options, views which does not match the expect structure, you will get a error message such as:
{"error":"badmatch","reason":""}

My proposed fix would be to just ignore design documents that do not match the required keys and compact the documents that are compatible.

I do not know erl so I can not write a patch, but to try to save some time it was tracked down to:
File: couch_view_group.erl 
Method: design_doc_to_view_group

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.