Bug 72696 - [Workbench] Need friendlier error messages, allow hooking custom messages to platform exceptions
Summary: [Workbench] Need friendlier error messages, allow hooking custom messages to ...
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-08-26 11:12 EDT by Bev DeWitt CLA
Modified: 2009-08-30 02:11 EDT (History)
4 users (show)

See Also:


Attachments
Error message when invoking Help without a browser installed. (11.20 KB, image/gif)
2005-04-11 08:59 EDT, Bev DeWitt CLA
no flags Details
Error when loading the Rational Unified Process plug-in without a browser installed. (17.36 KB, image/gif)
2005-04-11 09:03 EDT, Bev DeWitt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bev DeWitt CLA 2004-08-26 11:12:02 EDT
This is related to bugzilla # 22819 and 54950.  The ability to build user-
friendly dev tools and applications on Eclipse requires friendlier error 
messages and the abiliy to replace Eclipse messages with custom text.

Instead of referring the user to the log (and we don't even tell the user 
where to find it) we should put informative text in the message box or allow 
customization of messages.
Comment 1 Steve Francisco CLA 2005-03-30 23:03:15 EST
is there any progress on this enhancement?  Might it be addressed in 3.1?
Comment 2 Michael Van Meekeren CLA 2005-03-31 11:57:10 EST
Could you tell me which error (scenario) you are talking about?
Comment 3 Steve Francisco CLA 2005-03-31 13:40:12 EST
Yes, I'm referring to the enhancement request to do more than refer to the 
error log.  I know this is vague though. This bugzilla could probably be 
resolved if there were some plans to expand on the capability such as:
a) have a link/button to open the log and possibly position at a useful line.
b) directly include relevant lines from the log in the dialog text

If not, perhaps this bugzilla is too vague to be of use and needs either 
further definition, or retiring.
Comment 4 Michael Van Meekeren CLA 2005-03-31 16:32:29 EST
No actually I mean that there is more than one place where we do this and some
might be fixable while others not, so I want to know which in particular is the
result of this bug.
Comment 5 Bev DeWitt CLA 2005-03-31 16:43:17 EST
(In reply to comment #4)
This particular bug was the result of invoking the RAD Help with Mozilla not 
being installed.  A differently worded but equally cryptic error message was 
presented when invoking the RUP plug-in without Mozilla being installed.  In 
both cases the plug-in failed to load due to the browser being absent but 
didn't provide adequate information to the user.
Comment 6 Michael Van Meekeren CLA 2005-04-01 10:02:28 EST
Adding Dejan.  Dejan any comments on the last comment?  Is this better since the
new browser support?
Comment 7 Dejan Glozic CLA 2005-04-01 11:25:07 EST
Konrad?
Comment 8 Konrad Kolosowski CLA 2005-04-01 17:07:54 EST
Fix in 3.0.2 for bug 87652 should guard against help not working at all.
There are still three strings that refer to the log.  Two are related to 
launching browsers.  We can eliminate them from help by using the browser 
support from UI, that we not do in yet 3.1M6.  The other we can change to 
point to the log location.  A bug against help would certainly help address 
that.
The difficulty in producing meaningful messages in the past comes from the 
fact that we don't really know the actual problem, we expect anything in the 
log that will help diagnose, so we can rephrase but it won't help much.  
Pointing to the log, instead of offering to open error view or browser 
preferences, would help, bug help browsers are in a non UI plug-in and are 
shared between workbench and stand-alone help.  Once we switch to use 
ui.browsers, we can be more precise how to deal with the log.  Again, a bug or 
a patch under Help component with the actual messages that are bad will 
increase chances of them being fixed.
Comment 9 Bev DeWitt CLA 2005-04-11 08:59:05 EDT
Created attachment 19741 [details]
Error message when invoking Help without a browser installed.

Adding the location and filename of the log to this error message would be
sufficient.
Comment 10 Bev DeWitt CLA 2005-04-11 09:03:19 EDT
Created attachment 19742 [details]
Error when loading the Rational Unified Process plug-in without a browser installed.

The RUP error message is more grave than it should be for merely loading a
plug-in that can't find a browser.
Comment 11 Konrad Kolosowski CLA 2005-04-12 01:31:28 EDT
Help error message shown in comment 9 has been improved to point to the log 
location.  It should not happen as often in 3.1 as for external browsers help 
switched to the browser support in Platform UI.

Help error message shown in comment will not appear as per fix to bug 87652.
I see nothing else to be done on help side.
Comment 12 Tod Creasey CLA 2006-04-15 14:29:34 EDT
There is no further work planned on this
Comment 13 Denis Roy CLA 2009-08-30 02:11:08 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.