[
https://jira.jboss.org/browse/TEIIDDES-692?page=com.atlassian.jira.plugin...
]
Barry LaFond resolved TEIIDDES-692.
-----------------------------------
Assignee: Barry LaFond
Resolution: Done
There are a number of complex "editing" operations within designer that are NOT
undoable. Moving Clear transformation into that category and disallowing it's
undoability.
Added to the "Confirm Clear Transformation" dialog message to warn user the
operation is not undoable.
Undo Clear Transformation gets Index Out of Bound exception
-----------------------------------------------------------
Key: TEIIDDES-692
URL:
https://jira.jboss.org/browse/TEIIDDES-692
Project: Teiid Designer
Issue Type: Bug
Components: Editors
Affects Versions: 7.1.1
Environment: Windows, JBDS 4.0 Beta 1
Reporter: Paul Nittel
Assignee: Barry LaFond
Fix For: 7.1.1
If a transformation is cleared, undo-ing the clear operation fails with an index out of
bounds exception.
Error 2010-10-28 12:28:55.390 Error processing Undo: Clear Transformation
org.eclipse.emf.common.util.AbstractEList$BasicIndexOutOfBoundsException: index=1,
size=0
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:338)
at org.eclipse.emf.edit.command.RemoveCommand.doUndo(RemoveCommand.java:471)
at
org.eclipse.emf.edit.command.AbstractOverrideableCommand.undo(AbstractOverrideableCommand.java:162)
at org.eclipse.emf.common.command.CompoundCommand.undo(CompoundCommand.java:333)
at
com.metamatrix.modeler.internal.core.transaction.UndoableImpl.undo(UndoableImpl.java:75)
at
com.metamatrix.modeler.internal.ui.undo.ModelerUndoManager.undo(ModelerUndoManager.java:306)
at
com.metamatrix.modeler.internal.ui.actions.UndoAction.performAction(UndoAction.java:49)
at
com.metamatrix.modeler.internal.ui.actions.AbstractUndoRedoAction$1.run(AbstractUndoRedoAction.java:84)
at
org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at
com.metamatrix.modeler.internal.ui.actions.AbstractUndoRedoAction.doRun(AbstractUndoRedoAction.java:97)
at com.metamatrix.ui.actions.AbstractAction$1.run(AbstractAction.java:537)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.metamatrix.ui.actions.AbstractAction.run(AbstractAction.java:540)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:230)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira