[[BackLinksMenu]] [[TicketQuery(summary=BUG_REPORT_FORM_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == Bug report form should actually send the bug reports somewhere == Task requirements == * For report form * Add a "Send Report" button to the bug report form * Rename the "Save as File" to "Save Report As" * Add "Attach a file" for attaching books, etc. * For the server that will handle the information * Create a database to handle the error reports * The database should support fields (see implementation idea) * Create a limit for the size of the reports * Think of way to block spam * [Optional] Create a UI for the database so developers can access the information * create different sort and group ways for the information - for example by OS, by Java version, by user e-mail == Task result == Code == Implementation idea == * On clicking the 'Send' button, a HTTP POST request to sophie2.org/bugreports should be sent. * Since it may contain an attached file, its format should be as if posted by a form using ENCTYPE="multipart/form-data" * The database may contain the following fields: * Date & Time * Log * Exception * User e-mail address * User notes * The attached files may not be saved in the database, but in a special folder on the server. * However, they should be renamed, so that there are no files with the same name and it is possible to understand to which bug report they were attached. For example: ReportNoAttachment., where is the number of the report and is the original extension of the file. * Write a php script that fills the information in the database and uploads the files. == Related == APP_BUG_REPORT_FORM_R0 == How to demo == * Open the bug report from from the Help menu * Send a bug report with an attached file * Using the UI for the database or a console, if it is not yet ready, make sure that the bug report was stored on sophie2.org = Design = ^(Describe your design here.)^ = Implementation = ^(Describe and link the implementation results here (from the wiki or the repository).)^ = Testing = ^(Place the testing results here.)^ = Comments = ^(Write comments for this or later revisions here.)