fluid.prefs.tempStore acts as a fluid.prefs.cookieStore by default
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.
Environment
None
Activity
Cindy LiJuly 11, 2017 at 2:36 PM
The pull request has been merged into the project repo master branch at 7ffeb42e5d812f4d65d9a67bd833623fdb9f731f
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.