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

Sync function should take empty string and convert to nil

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 88
    • 3

    Description

      In previous versions we converted a sync function supplied as an empty string to nil. Setting this to nil means the default will be used in other places.

      This empty string conversion is done inside applySyncFunction / UpdateSyncFun

      We should maintain this behaviour in 3.0 although perhaps we should do this higher up in validate where we are currently blocking invalid javascript / or empty strings.

      Attachments

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

        Activity

          People

            bruno.alves Bruno Alves
            jacques.rascagneres Jacques Rascagneres
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty