FLUID-5928: Schema and Grade version save preferences to different values

Metadata

Source
FLUID-5928
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2016-07-14T12:53:44.906-0400
Updated
2024-07-22T10:35:20.270-0400
Versions
N/A
Fixed Versions
  1. 3.0
Component
  1. Prefs Framework

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