couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-2359) Query against design documents goes wild
Date Mon, 06 Oct 2014 14:04:33 GMT
Alexander Shorin created COUCHDB-2359:
-----------------------------------------

             Summary: Query against design documents goes wild
                 Key: COUCHDB-2359
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2359
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Fauxton
            Reporter: Alexander Shorin


1. Open database in Fauxton
2. Navigate to All Design Documents 
3. You need at least 2 design documents to have fun
4. Scroll down to  the bottom and click "edit query"
5. In opened query configuration click on green "Query" button, click on "Between Keys" tab
and click on "Query" button again

You'll have a url like:
{code}
http://localhost:5984/fauxton/_design/fauxton/index.html#/database/db/_all_docs?startkey=%22_design%22&endkey=%22_design0%22&inclusive_end=true&descending=false&include_docs=false
{code}

and you'll expect to see only design documents. However, you'll browse trully design document
+ few regular random documents + you'll see some of ddocs duplicated in your view.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message