bug #7880
closedImplement centralized preference default loading strategy
100%
Description
Some preferences are loaded at Taxeditor startup before any connection to a CDM data source was made. Since some preferences now include the active CDM store in their keys, they may not be used correctly.
One case where this may be the problem:
- When starting the Taxeditor with local and DB preferences cleared, all search options are disabled.
Related issues
Updated by Katja Luther over 5 years ago
- Status changed from New to In Progress
- Target version changed from Unassigned CDM tickets to Release 5.5
The initialization of the preferences is already moved to contextStart in LifeCycleManager, so the cdm data store is available. But the initialization of the search configuration is done, when the SearchBar is created, this is before the editor is connected to a cdm instance.
Now the search configuration is done for an editor instance not the db instance, we have to decide whether this is the wanted behaviour or the users want to define the search options for every cdm instance.
Updated by Katja Luther about 5 years ago
- Status changed from In Progress to Resolved
this should be fixed. please review.
Updated by Katja Luther about 5 years ago
- Assignee changed from Katja Luther to Patrick Plitzner
Updated by Patrick Plitzner about 5 years ago
- Status changed from Resolved to Closed
- Assignee changed from Patrick Plitzner to Katja Luther
- % Done changed from 0 to 100
The search option are now all enabled with preferences cleared.
Updated by Andreas Müller about 5 years ago
- Status changed from Closed to Resolved
- Assignee changed from Katja Luther to Andreas Müller
Updated by Andreas Müller about 5 years ago
- Related to bug #7999: Allow override does not work correctly for distribution areas added
Updated by Andreas Müller about 5 years ago
- Related to bug #7849: Improve DB Preferences handling and saving in TaxEditor added
Updated by Andreas Müller about 5 years ago
- % Done changed from 100 to 50
In DistrEd when having status defined in DBPrefs without allow override after restart of TaxEditor (and CDM Server, relevant?) it shows the complete status list, not only those selected in DBPrefs!!
Updated by Andreas Müller about 5 years ago
- Related to bug #7856: Allow local override for distribution vocabularies added
Updated by Andreas Müller about 5 years ago
Andreas Müller wrote:
In DistrEd when having status defined in DBPrefs without allow override after restart of TaxEditor (and CDM Server, relevant?) it shows the complete status list, not only those selected in DBPrefs!!
Only if allow override is selected the correct status list is shown.
Updated by Andreas Müller about 5 years ago
upps, I just see that this ticket is maybe not about this issue, still search for the correct ticket.
Updated by Katja Luther about 5 years ago
- Status changed from Resolved to Closed
- % Done changed from 50 to 100