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

cPanel: When creating a package the cPanel package selector may not render

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0, 4.0.0-b1
    • Fix Version/s: 4.0.0-b1
    • Component/s: Modules
    • Labels:
      None

      Description

      When creating a Package and selecting the cPanel module, Blesta attempts to query the first module row for cPanel and use that servers API credentials to fetch the package listing via the "listpkgs" API command.

      This is problematic if the 1st server listed is no longer in use. The drop down for the cPanel Package selection will never render. Neither does the Server Group.

      However, if editing a package that specifies a server group that contains servers that are active, the cPanel Package dropdown will load.

      I suspect that because the default option for the Server Group dropdown is "All", that it forces the 1st server to be used.

      Rather, I think it makes more sense to default the Server Group dropdown to "Please Select", so that it only performs the API call when "All", or a specific Server Group is selected. This will allow the user to select a server group that contains active servers so that it can fetch the cPanel Packages and populate the dropdown.

        Issue Links

          Activity

          admin Paul Phillips created issue -
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #181 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.0.0 Sprint 9 [ 27 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.0.0 Sprint 9 [ 27 ] 4.0.0 Sprint 9, 4.0.0 Sprint 10 [ 27, 28 ]
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #181 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue testing discovered CORE-2292 [ CORE-2292 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-2363 [ CORE-2363 ]

            People

            • Assignee:
              jonathan Jonathan Reissmueller
              Reporter:
              admin Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Sep/16

                Agile