Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1788

function_clause when viewing deleted _replicator doc as non-owner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.1, 1.4.0
    • None
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rnewson Robert Newson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: