Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7242

Preference defaults are stored

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 1.39.4
    • Preferences
    • None

    Description

      A preference that isn't set and is using the default value in `storedUserPreferencesProps` is currently stored to disk. This makes it so that if we update the default later on, the old default would override and persist.
      We don't want to store preferences if they're default, only when they've been set.
      This might be a regression. When fixing let's add a test to ensure this doesn't regress again.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: