Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1315

Attempting to install multiple copies of a plugin causes an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2, 3.3.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      When going to install a plugin, it's possible to click the Install button multiple times (very quickly), thus sending multiple requests to Blesta to install the plugin. 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 plugin if one does not exist for the company.

        Issue Links

          Activity

          tyson Tyson Phillips (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 3.3.0 [ 10100 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-1314 [ CORE-1314 ]
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Link This issue relates to CORE-1313 [ CORE-1313 ]
          tyson Tyson Phillips (Inactive) created issue -

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Jul/14