Project

General

Profile

feature request #7902

Allow default values for PreferencePredicates

Added by Andreas Müller 9 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
11/12/2018
Due date:
% Done:

0%

Severity:
normal

Related issues

Related to Edit - feature request #8062: Make default preferences deletable serverside In Progress 02/04/2019
Blocks Edit - bug #7849: Improve DB Preferences handling and saving in TaxEditor Feedback 10/23/2018

Associated revisions

Revision c47fd6c0 (diff)
Added by Andreas Müller 9 months ago

ref #7901, ref #7902 Create IPreferencePredicate and include getDefaultValue

Revision 1b996cca (diff)
Added by Andreas Müller 9 months ago

ref #7902, ref #7901 add generic to allow return types for defaultValue and to allow toString and fromString methods

History

#1 Updated by Andreas Müller 9 months ago

  • Blocks bug #7849: Improve DB Preferences handling and saving in TaxEditor added

#2 Updated by Andreas Müller 9 months ago

  • Status changed from New to In Progress
  • Assignee changed from Andreas Müller to Katja Luther
  • Priority changed from New to Highest

Generally implemented but for existing predicates we still need to define default values.

For boolean and/or UUIDs /UUID Lists and maybe others we may think about separate enums to explicitly handle getters/setters for the type (to convert from String to Type and back). But not sure if this really works as expected. I have added a generic to IPreferencePredicate to allow the return value to be more specific then Object for a certain enum.

#3 Updated by Andreas Müller 6 months ago

#4 Updated by Andreas Müller 6 months ago

  • Assignee changed from Katja Luther to Andreas Müller

As this is implemented on TaxEditor side I take it back to me for remaining issues.

#5 Updated by Andreas Müller 6 months ago

  • Target version changed from Release 5.5 to Release 5.6

#6 Updated by Andreas Müller 4 months ago

  • Target version changed from Release 5.6 to Release 5.7

#7 Updated by Andreas Müller 4 months ago

  • Target version changed from Release 5.7 to Release 5.8

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)