bug #7880
closed
Implement centralized preference default loading strategy
Added by Patrick Plitzner over 5 years ago.
Updated about 5 years ago.
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.
- 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.
- Status changed from In Progress to Resolved
this should be fixed. please review.
- Assignee changed from Katja Luther to Patrick Plitzner
- 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.
- Status changed from Closed to Resolved
- Assignee changed from Katja Luther to Andreas Müller
- Related to bug #7999: Allow override does not work correctly for distribution areas added
- Related to bug #7849: Improve DB Preferences handling and saving in TaxEditor added
- % 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!!
- Related to bug #7856: Allow local override for distribution vocabularies added
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.
upps, I just see that this ticket is maybe not about this issue, still search for the correct ticket.
- Status changed from Resolved to Closed
- % Done changed from 50 to 100
Also available in: Atom
PDF