This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21414 - Better error handling (form persistence)
Summary: Better error handling (form persistence)
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomas Pavek
URL:
Keywords:
Depends on:
Blocks: 21859
  Show dependency tree
 
Reported: 2002-03-11 10:48 UTC by Tomas Pavek
Modified: 2002-08-01 19:38 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2002-03-11 10:48:10 UTC
Some kinds of problem occurred during loading a form are ignored or reported 
inadequately. However this happens very rarely, the user might be confused and 
have problems to find what's wrong. The user can also lose some data if he/she 
does not notice that anything was not loaded and saves the form.

All errors during forms loading should be recognized and reported. The user 
should be informed about possible data loss.

To achieve this we must make the form loading process more robust. All kind of 
errors must be handled and reported correctly (bad file format, missing 
component class, missing property editor class, etc). Especially the fact must 
be highlighted that the form loaded with errors should not be saved then due to 
possible data loss (of not loaded parts).

See also http://form.netbeans.org/doc/design/nb34/ErrorsHandling_userview.html
Comment 1 Tomas Pavek 2002-03-13 10:42:01 UTC
Done.
Comment 2 Marian Mirilovic 2002-03-25 13:55:36 UTC
verified in [nb_dev](20020315).

Now, error handling is as good as possible. User is informed about
error during loading form file.


Some small problems arise(issue 21113, issue 21115) , but now all are
fixed.

Thanks for this feature.