Changes between Version 12 and Version 13 of APP_BUG_REPORT_FORM_R0
- Timestamp:
- 05/20/09 16:24:48 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
APP_BUG_REPORT_FORM_R0
v12 v13 10 10 * A log containing information useful for debugging. This field is read only. 11 11 * A custom text field containing user explanation on what happened. This is not a required field. 12 * A text field for the user's e-mail address. 12 13 * A warning that user information such as working path and filenames will be sent. 13 14 Behavior: 14 15 * The bug report form appears automatically when an expected error occurs (exceptions, etc). 15 16 * The bug report form may be forced by the user using "Help->Send an error report" 17 The goal of this revision is to provide the client side of bug reporting. (I.e. the bug report couldn't be sent automatically, but can be saved as a file). 16 18 == Task requirements == 17 * Define where and how the reports will be sent18 19 * Create an extension for the "Send an error report" item for the Help menu. 19 20 * Implement invoking the Application bug report form automatically on catching an exceptions. … … 22 23 * Titlebar 23 24 * Text fields 24 * Report and cancel buttons 25 * Depending on edition, the report should contain corresponding log file. 25 * The content of the e-mail field should be saved in a config file. First time the form is opened, the user enters his/her e-mail address. Next time the field displays the same address. 26 * Report button - in next revision 27 * Save-as-file button - saves the report as a plain text file (a file dialog is opened and the user selects a path for the file) 28 * Cancel button - closes the form without saving or sending the report 29 * Bug report contents (in this order): 30 * Exception's stack trace if the form is invoked automatically on error. 31 * Sophie's log file (currently it is not in distrib directory). 32 * System properties such as operating system version, version of Java, ... 33 * User's e-mail address. 34 * User's explanation (which can be empty). 26 35 * Titlebar must contain Bug number or exception description. 27 36 == Task result == 28 37 Code. 29 38 == Implementation idea == 30 This is a draft diagram. For now, the checkbox is obsolete as it is hard to implement and not much useful. [[BR]]39 * This is a draft diagram. For now, the checkbox is obsolete as it is hard to implement and not much useful. Instead, there is a text field for the e-mail address. [[BR]] 31 40 [[Image(source:trunk/sophie2-platform/doc/spec-diagrams/BugReport.png, 50%)]] 41 42 * Create a handler for unhandled exceptions. Use {{{Thread.setDefaultUncaughtExceptionHandler}}}. 43 44 * Save the e-mail address in a config file in distrib directory. In next revisions save it in application's configuration file. 45 46 * Get the contents of Java system properties like "os.name", "os.arch", "os.version", etc. 47 32 48 == Related == 33 49 … … 37 53 == How to demo == 38 54 * Open Sophie 2. 39 * Perform an action that throws an error. 40 * Send an error report. 41 * Show where the error reports are stored. 55 * Perform an action that throws an error (if you don't know such, manually invoke the form by the Help menu). 56 * Enter something in the explanation text field. 57 * Save the error report in a file. 58 * Open the file to show the collected information. 42 59 = Design = 43 60