- temporarily disabled cloning (#2645)
authorPatric Plitzner <p.plitzner@bgbm.org>
Thu, 26 Feb 2015 12:26:47 +0000 (12:26 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Thu, 26 Feb 2015 12:26:47 +0000 (12:26 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EntitySelectionElement.java

index 0b0f89b2c13c9d93d4053110713f79a791161a8d..0283c721d418df04c8b08337c05b79d4190ff013 100644 (file)
@@ -477,12 +477,13 @@ public class EntitySelectionElement<T extends ICdmBase> extends
                     }
                 }
                 else{
                     }
                 }
                 else{
-                    try {
-                        //clone original
-                        clonedEntity = (T) ((CdmBase) originalEntity).clone();
-                    } catch (CloneNotSupportedException e1) {
-                        MessagingUtils.warningDialog(TRANSIENT_EDITING_WARNING_TITLE, this, TRANSIENT_EDITING_WARNING_TEXT);
-                    }
+                    //FIXME temporarily disabled cloning re-opening bug #2645 (EditFromSelectionWizard persists data even when canceled)
+//                    try {
+//                        //clone original
+//                        clonedEntity = (T) ((CdmBase) originalEntity).clone();
+//                    } catch (CloneNotSupportedException e1) {
+//                        MessagingUtils.warningDialog(TRANSIENT_EDITING_WARNING_TITLE, this, TRANSIENT_EDITING_WARNING_TEXT);
+//                    }
                 }
 
                    }
                 }
 
                    }