This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 427142 - StatusManager may change the severity
Summary: StatusManager may change the severity
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 4.4 M6   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2014-01-31 11:35 EST by Gorkem Ercan CLA
Modified: 2014-03-04 12:38 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gorkem Ercan CLA 2014-01-31 11:35:53 EST

    
Comment 1 Gorkem Ercan CLA 2014-01-31 11:38:37 EST
When StatusManager.handle(CoreException coreException,String pluginId) is called the Status that is part of the CoreException is wrapped into a new Status. The severity of this new status is always IStatus.WARNING. This is not expected and may cause problems on the downstream status handlers.
Comment 2 Paul Webster CLA 2014-02-04 10:28:01 EST
It would make sense to me to use the coreException status if available.

PW
Comment 3 Paul Webster CLA 2014-02-04 10:34:41 EST
Oh, and here's a review: https://git.eclipse.org/r/#/c/21406/
Comment 5 Paul Webster CLA 2014-03-04 12:38:45 EST
In 4.4.0.I20140303-2000

PW