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

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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 10, 2022 at 5:15 PM
Updated July 1, 2022 at 11:11 PM
Resolved June 15, 2022 at 7:28 AM
Loading...