92 | | ^(Describe and link the implementation results here (from the wiki or the repository).)^ |
| 92 | * The suggestion to replace the util class {{{ ConnectionsUtil }}} by a {{{ MultipartRequest }}} from the design review was implemented. |
| 93 | * A new {{{ ConfigKey<String> BUG_REPORT_ADDRESS }}} was added in {{{ BugReportLogic }}} to keep the address where bug reports should be sent. |
| 94 | * Its default value is currently "" and should be changed. |
| 95 | * A new {{{ ConfigKey<Long> MAX_ATTACHMENT_SIZE }}} was added in {{{ BugReportDialog }}} to keep the maximum allowed attachment size. |
| 96 | * Its default value is 11mb. |
| 97 | * It is used both for validation of BugReportDialog.AttachmentField and in the ON_ATTACH_FILE operation in BugReportLogic. |
| 98 | * If a user clicks on the 'Browse' button and selects from the dialog input a file that is too large, the dialog will be closed and an error message will appear. The bug report form will remain open. |
| 99 | * The server's response will be a simple string that starts with a number: |
| 100 | * 0 means success |
| 101 | * 1 means that the bug report was submitted but the attached file could not be opened |
| 102 | * anything else means that the bug report was not submitted |
| 103 | |
| 104 | * Source code: |
| 105 | * [8007], [8010] and [8034] |
| 106 | * see the attachments |
| 107 | |