Changes between Version 22 and Version 23 of APP_BUG_REPORT_FORM_R0
- Timestamp:
- 05/22/09 13:13:51 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
APP_BUG_REPORT_FORM_R0
v22 v23 9 9 The Bug report form eases communication between users and developers. The form contains: 10 10 * A log containing information useful for debugging. This field is read only. 11 * including date, OS, sophie version andetc.11 * including exception details, Java and OS version, log file, etc. 12 12 * A custom text field containing user explanation on what happened. This is not a required field. 13 13 * A text field for the user's e-mail address. … … 30 30 * Save-as-file button - if the form is invoked automatically on error; saves the report as a plain text file (a file dialog is opened and the user selects a path for the file) 31 31 * Plain text file with .log extension. This file can be used when sending bug reports from Help menu entry or submitting bugs on the site. 32 * Browse button - if the form is invoked manually - the user can attach already generated report file. 32 * Load-report-from-file button - if the form is invoked manually - the user can attach already generated report file. 33 * Attach-file button - allows the user to attach a book/video/etc. that causes Sophie to crash. 33 34 * Cancel button - closes the form without saving or sending the report 34 35 * Bug report contents (in this order): 35 36 * Exception's stack trace if the form is invoked automatically on error. 37 * Current date and time. 38 * (in next revision - current version of Sophie) 36 39 * Sophie's log file (currently it is not in distrib directory). 37 40 * System properties such as operating system version, version of Java, ... … … 82 85 * Use {{{BoundTextField}}}s. 83 86 * The e-mail text field should perform validation using regular expression. 87 * String property {{{reportData}}} - serialized report data, without the user explanation and e-mail address. 88 * String property {{{userExplanation}}} 89 * String property {{{userEmail}}} 84 90 * Register the dialog in the help module. 85 91 … … 91 97 * method {{{BugReportDialogInput collectReportData(Throwable t)}}} that collects all required report data: 92 98 * the exception is taken as a parameter 99 * gets current date and time. 93 100 * reads the log file 94 101 * gets all system properties … … 99 106 * method {{{String generateReport(BugReportDialogInput)}}} that serializes all the data to string. 100 107 * The exception is serialized using printStackTrace. 101 * SAVE_TO_FILE: opens a file dialog, saves the result of {{{generateReport}}} and closes the form. 108 * Use ISO format for the date. 109 * Use UTF-8 encoding. 110 * SAVE_TO_FILE: opens a file dialog, saves the result of {{{generateReport}}} (without the attached file) and closes the form. 111 * LOAD_FROM_FILE: opens a file dialog, replaces the generated report. 102 112 * ATTACH_FILE: opens a file dialog, sets the attachment field in BugReportDialogInput. 103 113 * CLOSE: closes the form.