Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 4.0.0
-
Fix Version/s: 4.0.1
-
Component/s: Staff Interface
-
Labels:None
Description
When creating a new package and selecting the Module, the module options do not always load properly. I was able to confirm this issue with the cPanel module. Selecting the module normally shows a drop down of available cPanel Packages to select from. This information appears to be fetched from the API as it appears in the inspector for XHR but the drop down is not populated.
I believe the issue may be with package creation and not the module specifically.
Using the "Copy" feature for an existing module (tested with cPanel) appears to work.
I was able to duplicate this on PHP 7 and PHP 5.6
EDIT: It works as expected if there is a server group in cPanel. Selecting the group, or "Any" group, results in the cPanel packages/plans being displayed.
I think we should just always show the server group selector. When choosing the 'Any' option for the server group this should work correctly.
Some modules don't support server groups, but that shouldn't matter. We would just want to make sure that the label set for the server group selector defaults to something generic if there is no group name.