Project: talenddataquality
Issue TDQ-8443: Drag a UDI to current folder will throw 2 error
in DQ Repository, drag a UDI to current folder will get 2 error {code} Problems occurred when invoking code from plug-in: "org.eclipse.ui.navigator". -------------------------------------------------------------------------------------------------------------------------------------- org.eclipse.core.runtime.AssertionFailedException: assertion failed: Cannot move '/TOP_DEFAULT_PRJ/TDQ_Libraries/Indicators/User Defined Indicators/Copy_of_Row_Count_0.1.properties'. Destination should not be under source's hierarchy. org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) org.eclipse.core.internal.resources.Resource.assertMoveRequirements(Resource.java:195) org.eclipse.core.internal.resources.Resource.move(Resource.java:1585) org.eclipse.core.internal.resources.Resource.move(Resource.java:1565) org.talend.commons.utils.workbench.resources.ResourceUtils.moveResource(Unknown Source) org.talend.core.repository.utils.XmiResourceManager.moveResource(Unknown Source) org.talend.repository.localprovider.model.LocalRepositoryFactory.moveResource(Unknown Source) org.talend.repository.localprovider.model.LocalRepositoryFactory.moveObject(Unknown Source) org.talend.core.repository.model.ProxyRepositoryFactory.moveObject(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD$2$1.run(Unknown Source) org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD$2.run(Unknown Source) org.talend.repository.RepositoryWorkUnit.executeRun(Unknown Source) org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(Unknown Source) org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(Unknown Source) org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.moveObject(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.moveOthersNode(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.moveRepositoryNodes(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.handleDrop(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.RepositoryNodeDorpAdapterAssistant.handleDrop(Unknown Source) org.eclipse.ui.navigator.CommonDropAdapter$1.run(CommonDropAdapter.java:194) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.navigator.CommonDropAdapter.performDrop(CommonDropAdapter.java:184) org.eclipse.jface.viewers.ViewerDropAdapter.drop(ViewerDropAdapter.java:276) org.eclipse.ui.part.PluginDropAdapter.drop(PluginDropAdapter.java:69) org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774) org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456) org.eclipse.swt.dnd.DropTarget.Drop_64(DropTarget.java:392) org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:260) org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119) org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363) org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289) org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.talend.dataprofiler.rcp.intro.Application.start(Unknown Source) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) org.eclipse.equinox.launcher.Main.run(Main.java:1407) org.eclipse.equinox.launcher.Main.main(Main.java:1383) {code} {code} assertion failed: Cannot move '/TOP_DEFAULT_PRJ/TDQ_Libraries/Indicators/User Defined Indicators/Copy_of_Row_Count_0.1.properties'. Destination should not be under source's hierarchy. -------------------------------------------------------------------------------------------------------------------------------------- org.eclipse.core.runtime.AssertionFailedException: assertion failed: Cannot move '/TOP_DEFAULT_PRJ/TDQ_Libraries/Indicators/User Defined Indicators/Copy_of_Row_Count_0.1.properties'. Destination should not be under source's hierarchy. org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) org.eclipse.core.internal.resources.Resource.assertMoveRequirements(Resource.java:195) org.eclipse.core.internal.resources.Resource.move(Resource.java:1585) org.eclipse.core.internal.resources.Resource.move(Resource.java:1565) org.talend.commons.utils.workbench.resources.ResourceUtils.moveResource(Unknown Source) org.talend.core.repository.utils.XmiResourceManager.moveResource(Unknown Source) org.talend.repository.localprovider.model.LocalRepositoryFactory.moveResource(Unknown Source) org.talend.repository.localprovider.model.LocalRepositoryFactory.moveObject(Unknown Source) org.talend.core.repository.model.ProxyRepositoryFactory.moveObject(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD$2$1.run(Unknown Source) org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD$2.run(Unknown Source) org.talend.repository.RepositoryWorkUnit.executeRun(Unknown Source) org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(Unknown Source) org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(Unknown Source) org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.moveObject(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.moveOthersNode(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.moveRepositoryNodes(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.LocalRepositoryObjectCRUD.handleDrop(Unknown Source) org.talend.dataprofiler.core.ui.views.resources.RepositoryNodeDorpAdapterAssistant.handleDrop(Unknown Source) org.eclipse.ui.navigator.CommonDropAdapter$1.run(CommonDropAdapter.java:194) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.navigator.CommonDropAdapter.performDrop(CommonDropAdapter.java:184) org.eclipse.jface.viewers.ViewerDropAdapter.drop(ViewerDropAdapter.java:276) org.eclipse.ui.part.PluginDropAdapter.drop(PluginDropAdapter.java:69) org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774) org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456) org.eclipse.swt.dnd.DropTarget.Drop_64(DropTarget.java:392) org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:260) org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119) org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363) org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289) org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.talend.dataprofiler.rcp.intro.Application.start(Unknown Source) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) org.eclipse.equinox.launcher.Main.run(Main.java:1407) org.eclipse.equinox.launcher.Main.main(Main.java:1383) {code}
Story points: 5