Project

General

Profile

« Previous | Next » 

Revision 9ef7ae67

Added by Patrick Plitzner over 6 years ago

ref #6907 Fix NPE in move factual data operations

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/handler/MoveDescriptionElementsHandler.java
123 123
            }
124 124
            newAcceptedTaxonNodeUuid = newAcceptedTaxonNode.getUuid();
125 125

  
126
            String moveMessage = String.format(Messages.MoveDescriptionElementsHandler_ELEMENTS_MOVED, EditorUtil.getActiveMultiPageTaxonEditor().getTaxon());
126
            String moveMessage = String.format(Messages.MoveDescriptionElementsHandler_ELEMENTS_MOVED, editor.getEditor().getTaxon());
127 127

  
128 128
            AbstractPostOperation operation = new MoveDescriptionElementsOperation(
129 129
                    menuItem.getLocalizedLabel(), EditorUtil.getUndoContext(),

Also available in: Unified diff