Community
Participate
Working Groups
Build Identifier: Replay steps of InstalledModuleReference test from Tigerstripe repository: 1. Create Tigerstripe project 'com.cisco.sample.project' with entity 2. Add Dependency to installed module 'com.cisco.testModule (2.0.0)'. Do not close editor. 3. Create Tigerstripe project 'com.cisco.testModule' (Add local project with sameId - verify access is now to local instance) 4. Remove Tigerstripe project 'com.cisco.testModule' 5. Double click 'com.cisco.sample.project/tigerstripe.xml' to verify access to module 'com.cisco.testModule (2.0.0)' But module 'com.cisco.testModule (0.0.0)' (local instance) is displayed. Reproducible: Always
Created attachment 188676 [details] 336797 patch
Patch applied.
Repeat steps 1-4 View 'com.cisco.sample.project/tigerstripe.xml' on Dependency tab. The Dependency is updated, but 'Reference details' fields are not updated
Created attachment 189152 [details] 336797_c3 patch
336797_c3 patch applied.
Repeat steps 1-4 View 'com.cisco.sample.project/tigerstripe.xml' on Dependency tab. The Dependency is not updated
Created attachment 189876 [details] 336797_c6 patch The issue was related to 334903 fix.
336797_c6 patch applied.
All ok? but when I create Tigerstripe project 'com.cisco.testModule' (local project with sameId), internal error occurs: java.lang.reflect.InvocationTargetException at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008) at org.eclipse.tigerstripe.workbench.ui.internal.wizards.project.NewProjectWizard.performFinish(NewProjectWizard.java:133) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) 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.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:135) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 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) Caused by: org.eclipse.core.runtime.CoreException: Couldn't create project: An error occured while trying to create project: Resource '/com.cisco.testModule/src' already exists. at org.eclipse.tigerstripe.workbench.ui.internal.wizards.project.NewProjectWizard$1.execute(NewProjectWizard.java:124) 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) ... 43 more Caused by: org.eclipse.tigerstripe.workbench.TigerstripeException: An error occured while trying to create project: Resource '/com.cisco.testModule/src' already exists. at org.eclipse.tigerstripe.workbench.internal.core.project.TigerstripeProjectFactory.createProject(TigerstripeProjectFactory.java:103) at org.eclipse.tigerstripe.workbench.TigerstripeCore.createProject(TigerstripeCore.java:254) at org.eclipse.tigerstripe.workbench.ui.internal.wizards.project.NewProjectWizard$1.execute(NewProjectWizard.java:120) ... 46 more
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336797#c9
Closing issue, because Installed Module Reference now updated in opened editor. Tigerstripe project 'com.cisco.testModule' was not removed from the workspace, so the issue (comment 9 https://bugs.eclipse.org/bugs/show_bug.cgi?id=336797#c9) occurs