|Re: [CDO]Exception in Creating Folder in &amp;amp;amp;quot;CDO Sessions&amp;amp;amp; [message #764937 is a reply to message #764930]
||Tue, 13 December 2011 00:52
| Eike Stepper
Registered: July 2009
Hold on, 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:
String resourcePath = node.getPath();
CDOEditorUtil.openEditor(getPage(), transaction, resourcePath);
Please submit the bugzilla against EMF/cdo.ui
Am 13.12.2011 06:37, schrieb Eike Stepper:
> Am 13.12.2011 06:30, schrieb Khosro Asgharifard Sharabiani:
>> Hi Eike,
>> I did not write a test case to produce the problem,because the problem occurred in Eclipse and in "CDO Sessions" view.
>> After installing latest buildhttps://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.
>> That's all that i did.
>> I hope that you can reproduce it for yourself.
> Okay, I could reproduce the problem (even with H2). Please submit a bugzilla against EMF/cdo.core so that we can track
> the progress.
Powered by FUDForum
. Page generated in 0.06479 seconds