couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Candler (JIRA)" <>
Subject [jira] Created: (COUCHDB-317) Badmatch error if _replicate target starts with slash
Date Thu, 02 Apr 2009 14:13:13 GMT
Badmatch error if _replicate target starts with slash

                 Key: COUCHDB-317
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 0.9.1
         Environment: svn r761188
            Reporter: Brian Candler
            Priority: Trivial

Giving a replication source or target which starts with a slash gives an Erlang barf error.
(The wiki at said that this slash was necessary.
I will fix the wiki, but the error is still unsightly)

$ curl -X POST -d '{"source":"/foo","target":"/bar"}'
    [{couch_rep,init,1},\n          {gen_server,init_it,6},\n          {proc_lib,init_p,5}]},\n
       {child,undefined,\"7898c2bfbbcf8adbb305371e6c3c949e\",\n               {gen_server,start_link,\n
                          [couch_rep,\n                            [\"7898c2bfbbcf8adbb305371e6c3c949e\",\n
        {user_ctx,null,[<<\"_admin\">>]}}],\n                            []]},\n
              transient,1,worker,\n               [couch_rep]}}}"}

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

View raw message