Actions
bug #9520
closedTaxonnode parent merge cascade leads to non-transactional behavior
Start date:
Due date:
% Done:
100%
Estimated time:
Severity:
critical
Found in Version:
Description
If a taxon node is changed and saved the update result also contains its parent and also grandparents up to the classification. This can be seen in the session view of the TaxEditor When saving again all these objects are also merged.
This is not only a performance issue for deeper classifications but it also leads to a situation that if the parent was edited and saved in the meanwhile this editing gets lost because the parent state of the child is saved afterwards.
This behavior can be reproduced by:
- Open parent and child
- Change child (e.g. publish flag) and save
- Change parent (e.g. publish flag) and save
- Change child again and save
Reopen parent => it has the state from before the change
This is critical.
====
NOTE: Before closing: think about removing SaveOrUpdateEntityListener. It is currently not used anymore.
Actions