feature request #4766
closed
Repair Methods for the cdm instance
Added by Katja Luther about 9 years ago.
Updated about 7 years ago.
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
- Target version set to cdmlib - Reviewed Next Major Release
- Priority changed from Priority08 to Priority14
we may also integrate this as a validation rule -> #4981
- Description updated (diff)
- Priority changed from Priority14 to Highest
- Target version changed from Reviewed Next Major Release to Release 4.5
- Related to bug #6244: Sortindex problems in complex operations like swap synonym and accepted and others added
- 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
we already have update methods for sortindex and titlecache. These functionality needs to be available via the admin menu.
- Related to bug #6274: add update of childrenCount cache in repair method added
- 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.
- Private changed from Yes to No
- Related to bug #6353: Create progress monitors for imports and other long running tasks added
- 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.
- Status changed from Feedback to Closed
Also available in: Atom
PDF