Project

General

Profile

Actions

feature request #4766

closed

Repair Methods for the cdm instance

Added by Katja Luther almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

90%

Estimated time:
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 othersClosedKatja Luther

Actions
Related to EDIT - bug #6274: add update of childrenCount cache in repair methodClosedKatja Luther

Actions
Related to EDIT - bug #6353: Create progress monitors for imports and other long running tasksNewAndreas Müller

Actions
Related to EDIT - feature request #6357: Repair methods improvementNewKatja Luther

Actions
Actions #1

Updated by Andreas Müller almost 8 years ago

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

Updated by Andreas Müller over 7 years ago

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

Actions #3

Updated by Katja Luther about 6 years ago

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

Updated by Andreas Müller about 6 years ago

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

Updated by Katja Luther about 6 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
Actions #6

Updated by Katja Luther about 6 years ago

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

Actions #7

Updated by Katja Luther about 6 years ago

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

Updated by Katja Luther about 6 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.

Actions #9

Updated by Andreas Müller about 6 years ago

  • Private changed from Yes to No
Actions #10

Updated by Andreas Müller about 6 years ago

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

Updated by Andreas Müller about 6 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.

Actions #12

Updated by Katja Luther about 6 years ago

Actions #13

Updated by Katja Luther about 6 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF