Details
-
Type:
New Feature
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.5.0
-
Fix Version/s: None
-
Component/s: Staff Interface
-
Labels:None
Description
It's sometimes necessary to re-provision a service through the module that's already active in Blesta.
Staff, from the client profile, possibly under Service > Manage > Actions should be able to re-provision a service using the module. If added here, the "Use module" option should be checked and disabled. It may make sense to instead have a new tab called "Commands" or similar to allow module commands to be executed devoid of any action in Blesta including "Create", "Cancel", "Suspend", and "Unsuspend".
Performing the action would attempt to provision the service as if the service were paid pending and the cron ran, or, if the service were added manually by staff with "Use module" selected.
This may produce errors if the service already exists via the module, or if the service is lacking the necessary information to provision. In the latter case, I believe the module would be the cause for any lack of information depending on how it manipulates the data during the original creation of the service. This is beyond our control.
Alternatively it may be desirable to be able to set the service back to "Pending", and allow the cron to attempt to re-provision.
This has technical limitations. Since the currently stored service data is not necessarily the same as the original input data, it's not possible to submit to the module in many cases.
I think it would make more sense to simply cancel and recreate the service.