Revision 1103c727
Added by Katja Luther about 3 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/ChangeAcceptedTaxonToSynonymHandlerE4.java | ||
---|---|---|
111 | 111 |
} |
112 | 112 |
|
113 | 113 |
// check if corresponding name editor is closed |
114 |
EditorUtil.closeObsoleteEditor((TaxonNodeDto)obj, partService); |
|
114 |
// EditorUtil.closeObsoleteEditor((TaxonNodeDto)obj, partService);
|
|
115 | 115 |
} |
116 | 116 |
return Status.OK_STATUS; |
117 | 117 |
} |
... | ... | |
144 | 144 |
return null; |
145 | 145 |
} |
146 | 146 |
|
147 |
|
|
147 | 148 |
SecReferenceHandlingEnum secHandling = PreferencesUtil.getSecReferenceHandlingPreference(); |
148 | 149 |
UUID newSecUuid = null; |
149 | 150 |
UUID newTaxonUuid = newAcceptedTaxonNode.getTaxon() != null && newAcceptedTaxonNode.getTaxon().getSec() != null ? newAcceptedTaxonNode.getTaxon().getSec().getUuid(): null; |
... | ... | |
186 | 187 |
} |
187 | 188 |
} |
188 | 189 |
} |
189 |
|
|
190 |
for (TaxonNodeDto tn: oldTaxonNodes){ |
|
191 |
EditorUtil.closeObsoleteEditor(tn, partService); |
|
192 |
} |
|
190 | 193 |
ChangeAcceptedTaxonToSynonymOperation rcattso = |
191 | 194 |
new ChangeAcceptedTaxonToSynonymOperation(getTrigger(), |
192 | 195 |
false, |
Also available in: Unified diff
fix #9538: name editor is only closed if change really takes place