// by making the affected objects a set of ICdmBase
// Also, this needs to be moved to the new operations
// architecture.
- if(parent instanceof Classification) {
- affectedObjects.add((Classification)parent);
+
+ TaxonNode parentNode = taxonNode.getParent();
+ if(parentNode.getParent() == null) {
+ affectedObjects.add(taxonNode.getClassification());
}
- if(parent instanceof TaxonNode) {
- affectedObjects.add((TaxonNode)parent);
+ if(parentNode instanceof TaxonNode) {
+ affectedObjects.add(parentNode);
}
CdmApplicationState.getCurrentDataChangeService()