| Summary: | Extends of Exception artifact is created with Unhandled event loop exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Maria Kolchinskaja <mshulgina> | ||||
| Component: | UI | Assignee: | Project Inbox <tigerstripe.ui-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | valentin, yuri | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 0.5M0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Maria Kolchinskaja
This happens because we try to open java.lang.Exception in the artifact editor, that can not be done in principle. My suggestion to solve this problem - is to change the method org.eclipse.tigerstripe.workbench.ui.internal.views.explorerview.actions.TSOpenAction.openEditor (Object, IWorkbenchPage) so that method will check the resource availability for the opening artifact or not (getAdapter (IResource.class) == null), and if not then do not open and does not throw an exception, because this situation is quite normal. Also, if a resource for artifacts is not available, disable the link extends. Created attachment 192035 [details]
patch.339466
I solved the problem by making 'java.lang.Exception' artifact read-only
Patch applied. Verified |