Bug 206640 - [api][persistence] Request API to give user feedback about failures while saving profiles
Summary: [api][persistence] Request API to give user feedback about failures while sav...
Status: NEW
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: David Dykstal CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api
Depends on: 202416
Blocks:
  Show dependency tree
 
Reported: 2007-10-17 11:50 EDT by Martin Oberhuber CLA
Modified: 2007-11-14 08:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-10-17 11:50:29 EDT
From http://wiki.eclipse.org/DSDP/TM/Committer_Phone_Meeting_17-Oct-2007:

When an IOException occurs when saving a profile, it might result in loss of data and profile can become currupt (bug 202416).

Currently, exceptions while saving a profile are logged but no user feedback is given. This means that users do not know that saving their profiles failed.

Since the profile saving all happens in non-UI we'll need new API where interested parties can register for receiving information about failed profile saves. When a profile save failed, user should be notified with a dialog that allows him to retry saving the profile. The dialog should tell what file could not be saved and why.

The SystemProfileManager might be the right place for adding such an API.

Another option might be to just throw and forward exceptions from the profile saving routines. But this might mean having to handle these exceptions in lots of places. We should investigate how other projects handle such situations.