FLUID-5770: Save the entire model of the prefs editor at the model change instead of only the part of "preferences" path

Metadata

Source
FLUID-5770
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Cindy Li
Reporter
Cindy Li
Created
2015-09-18T10:22:47.485-0400
Updated
2017-02-27T15:49:10.707-0500
Versions
  1. 2.0
Fixed Versions
  1. 2.0
Component
  1. Prefs Framework

Description

FLUID-5665 made the change to the prefsEditor component to save preference selections into a model path "preferences" so that users can make use of the same model to save other information.

However, fluid.prefs.prefsEditor.save() function has a bug that when the prefsEditor model changes, it only saves the changed preferences in the "preferences" path and ignore other parts of the model. This prevents user's other information to be saved.

The function needs to be fixed to be able to save the entire model instead of only the "preferences" part.

Comments