| Summary: | [UI] Exception in creating a folder in "CDO Sessions" view | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Khosro Asgharifard Sharabiani <khosro_question> | ||||||
| Component: | cdo.ui | Assignee: | Eike Stepper <stepper> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 4.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Khosro Asgharifard Sharabiani
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. (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. |