Use of the "storeType" option to the prefs builder should displace the default store grade

Description

The prefs editor accepts an option "storeType" which configures the type of preferences store:

http://docs.fluidproject.org/infusion/development/PreferencesEditor.html#prefseditor-options

Since we moved to the new framework, the default store grade is held in a contextAwareness block as so:

fluid.defaults("fluid.prefs.store", { gradeNames: ["fluid.prefs.dataSource", "fluid.contextAware"], contextAwareness: { strategy: { defaultGradeNames: "fluid.prefs.cookieStore" } } });

Without interacting with this block, the storeType option ends up adding to this default grade rather than displacing it.

Environment

None

Activity

Show:

Justin Obara December 17, 2015 at 9:56 PM

Merged pull request ( https://github.com/fluid-project/infusion/pull/660 ) into the project repo at e51c67226e2aa7a758e1a2c364d2448dbe947539

Fixed

Details

Assignee

Reporter

Components

Priority

Created December 16, 2015 at 6:19 PM
Updated July 22, 2024 at 1:30 PM
Resolved December 17, 2015 at 9:56 PM

Flag notifications