couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1074) trouble URL rewriting for key/startkey/endkey qs params
Date Sat, 15 Oct 2011 13:13:11 GMT

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

Benoit Chesneau commented on COUCHDB-1074:
------------------------------------------

"Rewrites need to be expressible in JSON, and requiring to quote Boolean values breaks that
and adds a requirement for additional knowledge ("write JSON docs everywhere but here...")
to get rewrites to work in 1.1+. 
" who says ? Why it needs?

The main problem isn't the format of rewrites. The main problem is to handle miscellaneous
query args which are strings. Detecting arrays vs strings, integer vs strings, tuple vs strings,
boolean vs strings etc.


                
> trouble URL rewriting for key/startkey/endkey qs params
> -------------------------------------------------------
>
>                 Key: COUCHDB-1074
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1074
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Benoit Chesneau
>            Assignee: Benoit Chesneau
>            Priority: Blocker
>              Labels: rewriter
>             Fix For: 1.1, 1.2
>
>         Attachments: 0001-fix-issue-COUCHDB-1074.-fix-variable-substitution.patch, 0001-fix-issue-COUCHDB-1074.-fix-variable-substitution.patch,
0001-fix-issue-COUCHDB-1074.-fix-variable-substitution.patch, 0001-fix-variable-substitutions.-handle-cases.patch,
0002-add-formating-in-variables-substitution.patch
>
>
> the variable substution not to happen, e.g.
> >
> > {
> >  "query": { "key": "\":arg\"" }
> > }
> >
> relative to this ml thread:
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201102.mbox/browser

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