CouchDB
  1. CouchDB
  2. COUCHDB-1788

function_clause when viewing deleted _replicator doc as non-owner

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1, 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      As reported by Stefan Kögl on the user mailing list, the after_doc_read function attempts to strip credentials from documents retrieved from the special _replicator database. However, if the document does not have a source or target field (commonly when the document is deleted), this causes a function clause exception.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 869f42e2dfe018d098052c9fadafd79d43fdd998 in branch refs/heads/1.3.x from Robert Newson
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=869f42e ]

        COUCHDB-1788 - tolerate undefined source/target when reading _replicator docs

        Show
        ASF subversion and git services added a comment - Commit 869f42e2dfe018d098052c9fadafd79d43fdd998 in branch refs/heads/1.3.x from Robert Newson [ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=869f42e ] COUCHDB-1788 - tolerate undefined source/target when reading _replicator docs
        Hide
        ASF subversion and git services added a comment -

        Commit 65107660fa11b05d69476b76e69c66486b44bfea in branch refs/heads/master from Robert Newson
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=6510766 ]

        COUCHDB-1788 - tolerate undefined source/target when reading _replicator docs

        Show
        ASF subversion and git services added a comment - Commit 65107660fa11b05d69476b76e69c66486b44bfea in branch refs/heads/master from Robert Newson [ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=6510766 ] COUCHDB-1788 - tolerate undefined source/target when reading _replicator docs

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Newson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development