Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5820

User settings could not save booleans in developer mode (when localStorage is used)

XMLWordPrintable

    • ODC Sprint 201
    • Low

      Description of problem:

      When a user toggles boolean values and this values are stored in the user settings, this values are not loaded and updated correctly.

      Prerequisites (if any, like setup, operators/versions):

      None

      Steps to Reproduce

      We found this while testing a new feature. So there is no existing known issue. See attached snippet to reproduce this with a local setup.

      Actual results:

      1. If the latest saved value is false, it could not loaded successfully and the user could also not change this value.
      2. If sync-mode is used a "false" value does not update a user settings in another tab.

      Expected results:

      1. Also if the value is false the value should be loaded.
      2. Also if the value is false the value should update another tab in sync mode.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      None

      Additional info:

      None

        1. snippet.tsx
          0.3 kB
          Christoph Jerolimov

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Gajanan More Gajanan More (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: