Details
Description
When going to install a gateway, it's possible to click the Install button multiple times (very quickly), thus sending multiple requests to Blesta to install the gateway. The first request will create it, however, the subsequent requests will fail due to an SQL error regarding a duplicate key, showing a stack trace page.
We should only attempt to add a gateway if one does not exist for the company.
Issue Links
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Tyson Phillips (Inactive)
made changes -
Tyson Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 3.3.0 [ 10100 ] | |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Sounds like a race condition, may not be possible to detect installation by the time the 2nd button fires. Best option is to disable button after click.