Project

General

Profile

bug #7880

Implement centralized preference default loading strategy

Added by Patrick Plitzner 7 months ago. Updated 4 months ago.

Status:
Closed
Priority:
New
Category:
taxeditor
Target version:
Start date:
10/30/2018
Due date:
% Done:

100%

Severity:
major
Found in Version:

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

Related to Edit - bug #7999: Allow override does not work correctly for distribution areas Closed 01/17/2019
Related to Edit - bug #7849: Improve DB Preferences handling and saving in TaxEditor Feedback 10/23/2018
Related to Edit - bug #7856: Allow local override for distribution vocabularies Closed 10/23/2018

Associated revisions

Revision 44be1b98 (diff)
Added by Katja Luther 7 months ago

ref #7880: improve search configuration initialization

History

#1 Updated by Katja Luther 7 months 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.

#2 Updated by Katja Luther 5 months ago

  • Status changed from In Progress to Resolved

this should be fixed. please review.

#3 Updated by Katja Luther 5 months ago

  • Assignee changed from Katja Luther to Patrick Plitzner

#4 Updated by Patrick Plitzner 4 months 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.

#5 Updated by Andreas Müller 4 months ago

  • Status changed from Closed to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

#6 Updated by Andreas Müller 4 months ago

  • Related to bug #7999: Allow override does not work correctly for distribution areas added

#7 Updated by Andreas Müller 4 months ago

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

#8 Updated by Andreas Müller 4 months 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!!

#9 Updated by Andreas Müller 4 months ago

  • Related to bug #7856: Allow local override for distribution vocabularies added

#10 Updated by Andreas Müller 4 months 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.

#11 Updated by Andreas Müller 4 months ago

upps, I just see that this ticket is maybe not about this issue, still search for the correct ticket.

#12 Updated by Katja Luther 4 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)