Community
Participate
Working Groups
There should be an attribute on PreferenceTask (or more general for setup tasks) to "always" (=force) overwrite the old value when changed. For some preferences, for instance when the value is in xml format and handled by an XMLPreferenceHandler, a changed value in the product setup will never be updated. In the XMLPreferenceHandler case this is due to lack of merge support for xml-files which leaves changes undetected. In cases like this it should be possible to choose to overwrite the value. Overwrite should occur whenever the value has changed in any way, i.e. the value should be treated as a string. This could be implemented by a new attribute on PreferenceTask, e.g: forceOverwrite = true;