Project

General

Profile

feature request #8062

Updated by Andreas Müller over 2 years ago

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

Back