Project

General

Profile

« Previous | Next » 

Revision feb6d41a

Added by Cherian Mathew over 8 years ago

#5234 Add correct updated objects to change event

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonNodeWizard.java
60 60
                // by making the affected objects a set of ICdmBase
61 61
                // Also, this needs to be moved to the new operations
62 62
                // architecture.
63
                if(parent instanceof Classification) {
64
                    affectedObjects.add((Classification)parent);
63

  
64
                TaxonNode parentNode = taxonNode.getParent();
65
                if(parentNode.getParent() == null) {
66
                    affectedObjects.add(taxonNode.getClassification());
65 67
                }
66 68

  
67
                if(parent instanceof TaxonNode) {
68
                    affectedObjects.add((TaxonNode)parent);
69
                if(parentNode instanceof TaxonNode) {
70
                    affectedObjects.add(parentNode);
69 71
                }
70 72

  
71 73
                CdmApplicationState.getCurrentDataChangeService()

Also available in: Unified diff