couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Stockton (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-1030) View Cleanup - Certain properties cause failure with blank error messages
Date Wed, 19 Jan 2011 22:20:44 GMT
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.


Mime
View raw message