Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-5928

Schema and Grade version save preferences to different values

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: Prefs Framework
    • Labels:
      None

      Description

      When using the grade version of the preference framework the preferences are stored as:

      {
          inputsLarger: true,
          lineSpace: 1.5,
          links: true,
          textFont: "comic",
          textSize: 1.5,
          theme: "lgdg",
          toc: true
      }
      

      However the schema version stores preferences like:

      {
          fluid_prefs_contrast: "lgdg",
          fluid_prefs_emphasizeLinks: true,
          fluid_prefs_inputsLarger: true,
          fluid_prefs_lineSpace: 1.5,
          fluid_prefs_tableOfContents: true,
          fluid_prefs_textFont: "comic",
          fluid_prefs_textSize: 1.5
      }
      

      The result is that preferences saved in the two versions of the prefs framework are incompatible. They should use the same structure to store the preferences.

      This can be viewed from the build site by comparing the cookies stored by these manual-tests

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jobara Justin Obara
                Reporter:
                jobara Justin Obara
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: