View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008981 | mantisbt | bugtracker | public | 2008-03-16 22:14 | 2008-04-19 04:10 |
| Reporter | SleePy | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | random |
| Status | closed | Resolution | fixed | ||
| Platform | Apple | OS | Mac os X | OS Version | 10.5.1 |
| Product Version | 1.1.1 | ||||
| Fixed in Version | 1.2.0a1 | ||||
| Summary | 0008981: Multiple bug submissions | ||||
| Description | Sometimes, when submitting a bug, it will submit it multiple times. This only happens with Mantis, Other software I use does not have this issue. I assume this is because protection against multiple form submissions are being done in these software. | ||||
| Steps To Reproduce | This one is a hard to produce, I don't do anything different than try to submit a bug and click the Submit report. After a few seconds I am refreshed to "Vview Issues" screen. I click My View and I see 3 or sometimes 4 of the exact same bug reports. | ||||
| Additional Information | I have had this happen in both Firefox 2.0 and 3.0... | ||||
| Tags | No tags attached. | ||||
|
Fixed by svn:5131 The fix is to use javascript to disable the button on click, and hence, it can't be clicked more than once. There is one issue to note. If the user reports a bug with an error (e.g. missing a mandatory field), clicking back will still have the button is disabled. Clicking refresh will re-enable the button. I've implemented this for the following forms:
Better patches are welcome, but I thought this would is a pretty good start. |
|