[463421] Resolve all proxies in EcoreEditor before doing 'save as'
diff --git a/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java b/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
index b765f72..ebb85ce 100644
--- a/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
+++ b/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
@@ -1777,6 +1777,8 @@
         }
         else
         {
+          // Ensure that all proxies are resolved before changing the containing resource implementation.
+          EcoreUtil.resolveAll(currentResource);
           Resource newResource = resourceSet.createResource(newURI);
           newResource.getContents().addAll(currentResource.getContents());
           resourceSet.getResources().remove(0);