Training Report Double Posting #147
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Turns out if you intentionally or accidentally double click the submit button in the training report. It will actually post 2 reports of exactly the same data. This can be recreated with clicking the post button as fast as possible until the page changes.
Possible solution is to disable the button instantly after first click with no errors on page OR do a check of last submission ID on the database and check if it exists within (example) 5 seconds with the same information and avoid double post.