Did anyone have time to review this patch? Especially the format
patch? It's needed to fully complete current rewriting implementation
before 1.1

- benoit


On Sun, Mar 20, 2011 at 12:50 AM, Benoit Chesneau (JIRA)
<[email protected]> wrote:
>
>     [ 
> https://issues.apache.org/jira/browse/COUCHDB-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>  ]
>
> Benoit Chesneau updated COUCHDB-1074:
> -------------------------------------
>
>    Attachment: 0002-add-formating-in-variables-substitution.patch
>
> Works with the patch:
>  0001-fix-variable-substitutions.-handle-cases.patch
>
> This second patch fix formatting in variables substitutions by adding the 
> format member to the rewrite rule:
>
>    {
>        "from": "simpleForm/basicViewPath/:start/:end",
>        "to": "_list/simpleForm/basicView",
>        "query": {
>            "startkey": ":start",
>            "endkey": ":end"
>        },
>        "formats": {
>            "start": "int",
>            "end": "int"
>        }
>    },
>
>> 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
>>              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.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>

Reply via email to