[teiid-designer-dev] [Teiid-Designer/teiid-designer] d2aaff: TEIIDDES-1610: Fix validation errors on refactorin...

Paul Richardson p.g.richardson at redhat.com
Tue Mar 12 09:23:46 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/Teiid-Designer/teiid-designer
  Commit: d2aaff68e1f8df22c838b2892ff92c1c00ced90e
      https://github.com/Teiid-Designer/teiid-designer/commit/d2aaff68e1f8df22c838b2892ff92c1c00ced90e
  Author: Paul Richardson <p.g.richardson at redhat.com>
  Date:   2013-03-12 (Tue, 12 Mar 2013)

  Changed paths:
    M plugins/org.teiid.designer.core/src/org/teiid/designer/core/refactor/ResourceRefactorCommand.java

  Log Message:
  -----------
  TEIIDDES-1610: Fix validation errors on refactoring resource

* If a resource has dependent resources then the latter's external
  references are broken as a consequence of the move (prior to fixing their
  proxy uris). The breaking resets the uris as the resource and discards
  the crucial fragments pointing to the actual eObject uuids. It is
  impossible in EMF to tell exactly where this occurs!!

* Before, moving the resource, this unloads the dependent resources which
  appears to stop the shortening of the proxy uris. As long as the proxy
  uris keep their uuid fragments, the refactoring move works correctly and
  no references are left unresolved when the refactoring has completed.





More information about the teiid-designer-dev mailing list