Community
Participate
Working Groups
Build Identifier: 20110916-0149 After installing latest build https://hudson.eclipse.org/hudson/job/emf-cdo-maintenance/lastSuccessfulBuild/artifact/ my problem did not solved. The way that you can reproduce my problem is very easy and is as follow : I have attached my CDO Server.You must first install MYSQL(I use version 5.1) on port 3306 and then import it to your Eclipse and then open "CDOServer.product" and in "Overview" tab click on "Launch An Eclipse Application".And also "cdo-server.xml" locates in "/CDOServer/rootfiles/configuration". Then follow these steps : Select "Windows->ShowView->CDO Sessions" view ,then click on plus sign("Open a new CDO Session") and connect to CDO Server that has been started as described in above(For "Server Description" enter "tcp://localhost:2036" and for "Repository Name" enter "demo" and also check "Automatic Package Registry" checkbox). Then right click on opened session(Session1) on "CDO Sessions" view and select "Open Transaction",and then right click on opened transaction(Transaction1) and then select "Create Folder" ,for example name it "sys1",and then a new tab open and the exception occurred. I use "eclipse-modeling-indigo-SR1-linux-gtk-x86_64" in Ubuntu 11.10 and JDK 1.6.0_25. You can also refer to http://www.eclipse.org/forums/index.php/t/265301/ for some other details. Reproducible: Always Steps to Reproduce: 1.Start CDO Server first. 2.Go to "Windows->ShowView->CDO Sessions" view 3.Then click on plus sign("Open a new CDO Session") and connect to CDO Server. 4.Then right click on opened session(Session1) on "CDO Sessions" view and select "Open Transaction",and then right click on opened transaction(Transaction1) and then select "Create Folder" ,for example name it "sys1",and then a new tab open and the exception occurred.
Created attachment 208300 [details] log that is related to exception.
Created attachment 208301 [details] CDO Server
This is a pure UI bug. CreateResourceNodeAction.doRun() should not attempt to open a resource editor for new folders. A simple if statement fixes this: if (!createFolder) { String resourcePath = node.getPath(); CDOEditorUtil.openEditor(getPage(), transaction, resourcePath); }
commit 1c27262a69ed050d8497f516114d28bd0aaf39be Author: Eike Stepper <stepper@esc-net.de> 2011-12-13 08:17:56 Committer: Eike Stepper <stepper@esc-net.de> 2011-12-13 08:17:56 Parent: 87851e48d9d1f528f993ee57a476ecbc893c841d (Orbit S20111201180206) Branches: origin/master, master [366491] [UI] Exception in creating a folder in "CDO Sessions" view https://bugs.eclipse.org/bugs/show_bug.cgi?id=366491
Port to 4.0 via bug 366492.
We only use the stream versions for the bugzillas. This bug I analyzed and fixed in 4.1.
(In reply to comment #6) > We only use the stream versions for the bugzillas. This bug I analyzed and > fixed in 4.1. So,Is there any way to solve it version 4.0.* Khosro.
(In reply to comment #7) > (In reply to comment #6) > > We only use the stream versions for the bugzillas. This bug I analyzed and > > fixed in 4.1. > > So,Is there any way to solve it version 4.0.* > > Khosro. See comment 5.
(In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #6) > > > We only use the stream versions for the bugzillas. This bug I analyzed and > > > fixed in 4.1. > > > > So,Is there any way to solve it version 4.0.* > > > > Khosro. > > See comment 5. Excuse me,i did not pat attention to comment 5. Thanks Eike.
No problem. Bugzilla can be confusing ;-)
Closing.