Project

General

Profile

feature request #4766

Repair Methods for the cdm instance

Added by Katja Luther over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib
Target version:
Start date:
03/31/2015
Due date:
% Done:

90%

Severity:
normal

Description

Because of former problems with the creation/updating of treeindex and sortindex, sometimes a subtree can not be displayed. Therefore we need repair methods, the user can call to update treeindex and sortindex of a tree or a subtree.

The methods already exist for the update script. for integration see #4767


Related issues

Related to Edit - bug #6244: Sortindex problems in complex operations like swap synonym and accepted and others Closed 12/06/2016
Related to Edit - bug #6274: add update of childrenCount cache in repair method Closed 12/12/2016
Related to Edit - bug #6353: Create progress monitors for imports and other long running tasks New 01/20/2017
Related to Edit - feature request #6357: Repair methods improvement New 01/20/2017

Associated revisions

Revision 1183a87f (diff)
Added by Katja Luther about 2 years ago

ref #4766: sortindex updater integration in admin menu

Revision 6a3f4c50 (diff)
Added by Katja Luther about 2 years ago

ref #4766: prepair the sortindex updater for calling via IOService

Revision 2c4452d9 (diff)
Added by Katja Luther about 2 years ago

ref #4766: remove apply and restore defaults buttons

History

#1 Updated by Andreas Müller over 3 years ago

  • Target version set to cdmlib - Reviewed Next Major Release
  • Priority changed from Priority08 to Priority14

#2 Updated by Andreas Müller over 3 years ago

we may also integrate this as a validation rule -> #4981

#3 Updated by Katja Luther about 2 years ago

  • Description updated (diff)
  • Priority changed from Priority14 to Highest
  • Target version changed from Reviewed Next Major Release to Release 4.5

#4 Updated by Andreas Müller about 2 years ago

  • Related to bug #6244: Sortindex problems in complex operations like swap synonym and accepted and others added

#5 Updated by Katja Luther about 2 years ago

  • Subject changed from Repair Methods for the taxon navigator to Repair Methods for the cdm instance
  • Assignee changed from Andreas Müller to Katja Luther

#6 Updated by Katja Luther about 2 years ago

we already have update methods for sortindex and titlecache. These functionality needs to be available via the admin menu.

#7 Updated by Katja Luther almost 2 years ago

  • Related to bug #6274: add update of childrenCount cache in repair method added

#8 Updated by Katja Luther almost 2 years ago

  • Status changed from New to Resolved
  • Assignee changed from Katja Luther to Andreas Müller
  • % Done changed from 0 to 70

I added the sortIndex Updater and the cache updater. Please have a look, if everything works or any suggestions for improving the admin menu.

#9 Updated by Andreas Müller almost 2 years ago

  • Private changed from Yes to No

#10 Updated by Andreas Müller almost 2 years ago

  • Related to bug #6353: Create progress monitors for imports and other long running tasks added

#11 Updated by Andreas Müller almost 2 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 70 to 90

This works fine and is a very nice feature.

Some minor issues:

  • Is there a reason why you have implemented the CacheUpdater only for 3 classes and not for all IdentifiableEntities? If we do the later we should have in mind that the order of the updaters is important. E.g. authors should be updated before references and before taxon names, etc.
  • It looks like you start a new progress monitor for each task. If this is true we should change it in a way that they become subtasks
  • once #6353 us fixed we should integrate the progress monitor accordingly

Feel free to create new tickets for the above. Generally this ticket can be closed as it works.

#12 Updated by Katja Luther almost 2 years ago

#13 Updated by Katja Luther almost 2 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)