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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development