Changes between Version 22 and Version 23 of APP_BUG_REPORT_FORM_R0


Ignore:
Timestamp:
05/22/09 13:13:51 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APP_BUG_REPORT_FORM_R0

    v22 v23  
    99The Bug report form eases communication between users and developers. The form contains: 
    1010 * A log containing information useful for debugging. This field is read only. 
    11   * including date, OS, sophie version and etc. 
     11  * including exception details, Java and OS version, log file, etc. 
    1212 * A custom text field containing user explanation on what happened. This is not a required field. 
    1313 * A text field for the user's e-mail address. 
     
    3030  * 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) 
    3131   * 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. 
    3334  * Cancel button - closes the form without saving or sending the report 
    3435 * Bug report contents (in this order): 
    3536  * 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) 
    3639  * Sophie's log file (currently it is not in distrib directory). 
    3740  * System properties such as operating system version, version of Java, ... 
     
    8285  * Use {{{BoundTextField}}}s. 
    8386   * 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}}} 
    8490  * Register the dialog in the help module. 
    8591 
     
    9197  * method {{{BugReportDialogInput collectReportData(Throwable t)}}} that collects all required report data: 
    9298   * the exception is taken as a parameter 
     99   * gets current date and time. 
    93100   * reads the log file 
    94101   * gets all system properties 
     
    99106  * method {{{String generateReport(BugReportDialogInput)}}} that serializes all the data to string. 
    100107   * 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. 
    102112  * ATTACH_FILE: opens a file dialog, sets the attachment field in BugReportDialogInput. 
    103113  * CLOSE: closes the form.