FLUID-6169: fluid.prefs.tempStore acts as a fluid.prefs.cookieStore by default

Metadata

Source
FLUID-6169
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2017-07-10T14:51:05.689-0400
Updated
2017-07-11T10:36:25.785-0400
Versions
  1. 2.0
Fixed Versions
  1. 3.0
Component
  1. Prefs Framework

Description

Both fluid.prefs.tempStore and fluid.prefs.cookieStore take in fluid.prefs.store as a base grade. fluid.prefs.store is also the generic grade used by the fluid.prefs.globalSettingsStore, with contextawareness employed to determine which type of actual store to use. However, the defaultGradeNames: "fluid.prefs.cookieStore" is set in fluid.prefs.store. That means when fluid.prefs.tempStore is used, it will automatically convert to a cookieStore, unless a context is provided.

fluid.prefs.cookieStore, fluid.prefs.tempStore, and fluid.prefs.store should all use the same basegrade, with the contextawareness only part of fluid.prefs.store.

Comments

  • Cindy Li commented 2017-07-11T10:36:21.949-0400

    The pull request has been merged into the project repo master branch at 7ffeb42e5d812f4d65d9a67bd833623fdb9f731f