You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Kassens (JIRA)" <ji...@apache.org> on 2009/11/08 21:27:32 UTC

[jira] Created: (COUCHDB-565) docids not validated when the document is created implicitly

docids not validated when the document is created implicitly
------------------------------------------------------------

                 Key: COUCHDB-565
                 URL: https://issues.apache.org/jira/browse/COUCHDB-565
             Project: CouchDB
          Issue Type: Bug
            Reporter: Jan Kassens


This query creates a document with id _reserved/id.

curl -X PUT http://localhost:5984/test/_reserved%2Fid/foo

It seems the validation is not run, when the document is created implicitly by an attachment.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-565) docids not validated when the document is created implicitly

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774819#action_12774819 ] 

Paul Joseph Davis commented on COUCHDB-565:
-------------------------------------------

Ouch. Good catch. That should be easy enough to fix.

> docids not validated when the document is created implicitly
> ------------------------------------------------------------
>
>                 Key: COUCHDB-565
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-565
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Jan Kassens
>
> This query creates a document with id _reserved/id.
> curl -X PUT http://localhost:5984/test/_reserved%2Fid/foo
> It seems the validation is not run, when the document is created implicitly by an attachment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COUCHDB-565) docids not validated when the document is created implicitly

Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Lehnardt closed COUCHDB-565.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10.1

fixed in trunk / 0.11 (r834436) and 0.10.x (r834437)

> docids not validated when the document is created implicitly
> ------------------------------------------------------------
>
>                 Key: COUCHDB-565
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-565
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Jan Kassens
>             Fix For: 0.10.1
>
>
> This query creates a document with id _reserved/id.
> curl -X PUT http://localhost:5984/test/_reserved%2Fid/foo
> It seems the validation is not run, when the document is created implicitly by an attachment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-565) docids not validated when the document is created implicitly

Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774818#action_12774818 ] 

Robert Newson commented on COUCHDB-565:
---------------------------------------

Umbrage:couchdb-lucene robertnewson$ curl -X PUT http://localhost:5984/db1/_reserved%2Fid/foo
{"ok":true,"id":"_reserved/id","rev":"1-b0e34971cb6a0459d1fdacc81bc7c401"}


> docids not validated when the document is created implicitly
> ------------------------------------------------------------
>
>                 Key: COUCHDB-565
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-565
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Jan Kassens
>
> This query creates a document with id _reserved/id.
> curl -X PUT http://localhost:5984/test/_reserved%2Fid/foo
> It seems the validation is not run, when the document is created implicitly by an attachment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.