Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-3257

c4db_scopeNames doesn't return the name of the default scope if it is empty.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.1.0
    • 3.1.0
    • LiteCore
    • Security Level: Public
    • Jianmin 76
    • 2

    Description

      A database should always have a default scope, even if all of its collections (including the default collection) are gone.

      To repro: create a new db, delete its default collection.  c4db_scopeNames returns a zero length list.  It should return a list containing the name of the default collection.

      Attachments

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

        Activity

          People

            jianmin.zhao Jianmin Zhao
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty