Metadata
- Source
- FLUID-5831
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Colin Clark
- Reporter
- Antranig Basman
- Created
2015-12-16T13:19:28.506-0500 - Updated
2024-07-22T09:30:36.971-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Prefs Framework
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.
Comments
-
Justin Obara commented
2015-12-17T16:56:10.368-0500 Merged pull request ( https://github.com/fluid-project/infusion/pull/660 ) into the project repo at e51c67226e2aa7a758e1a2c364d2448dbe947539