You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Eric Avdey (JIRA)" <ji...@apache.org> on 2016/09/01 15:00:27 UTC
[jira] [Commented] (COUCHDB-3118) Replicator's validation ignored
[ https://issues.apache.org/jira/browse/COUCHDB-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15455685#comment-15455685 ]
Eric Avdey commented on COUCHDB-3118:
-------------------------------------
It seems that validation on /_replicate end-point ignored or incorrect, it has a proper check for type of "create_target" parameter in payload, but I'm getting the following when trying to replicate on latest master:
{code}
$ http post :15984/_replicate source=koi target=tori create_target=true --auth $CRED
{
"error": "EXIT",
"reason": "{{case_clause,<<\"true\">>},\n [{couch_replicator_utils,'-maybe_append_options/2-fun-0-',3,\n [{file,\"src/couch_replicator_utils.erl\"},\n {line,179}]},\n {lists,foldl,3,[{file,\"lists.erl\"},{line,1263}]},\n {couch_replicator_utils,replication_id,1,\n [{file,\"src/couch_replicator_utils.erl\"},{line,79}]},\n {couch_replicator_utils,parse_rep_doc,2,\n [{file,\"src/couch_replicator_utils.erl\"},{line,73}]},\n {couch_replicator,replicate,2,[{file,\"src/couch_replicator.erl\"},{line,89}]},\n {rpc,'-handle_call_call/6-fun-0-',5,[{file,\"rpc.erl\"},{line,187}]}]}",
"ref": 1971952329
}
{code}
> Replicator's validation ignored
> -------------------------------
>
> Key: COUCHDB-3118
> URL: https://issues.apache.org/jira/browse/COUCHDB-3118
> Project: CouchDB
> Issue Type: Bug
> Reporter: Eric Avdey
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)