couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Murphy (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-916) Additional properties in addition to forbidden should be allowed on the {} hash returned from the validate_doc_update function. Also a function name should be allowed on the function.
Date Tue, 12 Oct 2010 23:36:32 GMT
Additional properties in addition to forbidden should be allowed on the {} hash returned from
the validate_doc_update function.  Also a function name should be allowed on the function.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: COUCHDB-916
                 URL: https://issues.apache.org/jira/browse/COUCHDB-916
             Project: CouchDB
          Issue Type: Improvement
          Components: Database Core
    Affects Versions: 1.0.1
         Environment: *
            Reporter: Martin Murphy


The reason for this request is that with these additions we can have a single javascript file
which can be used for doc validation as well as application validation.  Currently this can't
be achieved  without the use of eval.  Also since you can't add properties to the {} passed
back you have to pass it back on the forbidden property.  But if you are saving documents
in futon then you only get [object, object] as the alert error message.

-- 
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