Project

General

Profile

Actions

feature request #8062

closed

Make default preferences deletable serverside

Added by Andreas Müller about 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Priority14
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Tags:

Description

Currently when storing a CdmPreference it can not be checked if it holds the default value and therefore can be deleted. This is because CdmPreference holds the predicate as string only and therefore does not hold the default value. Only for those predicates defined server side it is possible to retrieve default value.

There are various possibilities to pass the default value.

  1. Use IPreferencePredicate in CdmPreference.prefKey instead of String
  2. Override set(CdmPreference) in PreferenceService to allow to pass an extra attribute "default value"
  3. Leave it to the client to delete default values (this requires a delete method) => we finally took this solution, see also #8045
  4. tbc

Related issues

Related to EDIT - bug #7849: Improve DB Preferences handling and saving in TaxEditorClosedKatja Luther

Actions
Related to EDIT - feature request #7902: Allow default values for PreferencePredicatesClosedAndreas Müller

Actions
Related to EDIT - feature request #8045: Improve handling of default values and override in local preferencesFeedbackKatja Luther

Actions
Copied to EDIT - task #9826: Move pure TaxEditor predicates back to taxeditor codeNewKatja Luther

Actions
Actions

Also available in: Atom PDF