Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-714

Log warning on ignored, invalid channel data

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.8.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 42
    • 2

    Description

      Non-string slice values will be ignored when invoking channel for a mixed slice. e.g.

      function(doc)

      { channel(["a", ["b", "g"], "c", 4]) }

      will channel docs to channel 'a' and 'c', and silently omit the non-string entries.

      Logging a warning when the sync function hits this scenario seems appropriate.

      Moved from https://github.com/couchbase/sync_gateway/issues/1278

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sarath.kumarsivan Sarath Kumar Sivan (Inactive)
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty