couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Young (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1306) Allow Booleans to be quoted in Rewrite rules
Date Sat, 15 Oct 2011 18:01:11 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128246#comment-13128246
] 

Benjamin Young commented on COUCHDB-1306:
-----------------------------------------

The "breaks" part came from past, working CouchApps failing due to the COUCHDB-1074 patch.
I understand reasoning behind the patch, but breaking past (and perfectly reasonable JSON)
rewrite rules that include something like "descending: true" should be considered a bug, and
ideally fixed. :)

If true booleans can no longer be supported in the rewriter, it would be great to at least
throw something in the logs about why its failing. Otherwise, hours go quickly down the drain
for something as simple as a pair of quotation marks...

It wouldn't be so bad if it weren't so frustrating to hunt down. :)
                
> Allow Booleans to be quoted in Rewrite rules
> --------------------------------------------
>
>                 Key: COUCHDB-1306
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1306
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.1, 1.2
>            Reporter: Benjamin Young
>            Assignee: Benoit Chesneau
>              Labels: couchapp, rewriter
>             Fix For: 1.3
>
>
> COUCHDB-1074 breaks the JSON format of Rewrite rules requiring that Boolean values always
be quoted. This requires additional knowledge for a user to even understand why their JSON
doesn't work with CouchDB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message