Actions
bug #6930
openTree index is null after deleting taxon and moving the children to the parent taxon
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
normal
Found in Version:
Description
steps to reproduce:
- have a taxonomic backbone like this: Classification-> Taxon A -> Childtaxon B
- Delete A with the setting "Move children to parent"
- Check in the data base or try to delete the moved taxon B (will result in NPE because tree index is null)
stack trace line may not be correct as I found this in my branch
Caused by: java.lang.NullPointerException at java.lang.String.startsWith(String.java:1405) at java.lang.String.startsWith(String.java:1434) at eu.etaxonomy.taxeditor.editor.EditorUtil.closeObsoleteEditor(EditorUtil.java:369)
Files
Updated by Katja Luther over 6 years ago
The treeIndex should be reset during saving in saveOrUpdateListener, probably this is not called because the deleting is called on the server.
Actions