-
Bug
-
Resolution: Done
-
Major
-
9.0
When deleting a VDB in a model project, it'll fail if you click Preview, then Back, then OK
Stack trace is below and it appears that by Previewing the a refactor action (Delete in this case) and clicking Back does not clear the original change, so clicking OK ends up trying to apply duplicate changes. I tested the Preview/Back a couple of times and verified it's adding a duplicate change each time.
org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
!SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
!MESSAGE assertion failed: