AMP
AMP copied to clipboard
Provisioning Flag for AMP.Limits.NumericValueNodeUpperLimits does not function via WHMCS
Bug Report
System Information
- Operating System (Including distribution name and version number) Ubuntu 20.04.5 LTS
- AMP version and build date (Always use the version number, 'latest' is not valid!) 2.4.4.0 Release 17/05/2023 17:54
- Which AMP release stream you're using (Mainline, Nightly or FastTrack) Mainline
I confirm:
- [x] that I have searched for an existing bug report for this issue.
- [x] that I am using the latest available version of AMP.
- [x] that my operating system is up-to-date.
Symptoms
- What are you trying to do? Provision a Generic Module server via WHMCS with the "AMP.Limits.NumericValueNodeUpperLimits.$GenericModule.App.MaxUsers" flag set to 100
- What are you expecting to happen? A user is unable to set their MaxUsers setting above 100, and the limit will appear in the AMPConfig.cfg file
- What is actually happening? ('Nothing' is not an acceptable answer!) A user is able to set their MaxUsers setting above 100, and the limit does not appear in the AMPConfig.cfg file - instead it shows { }
Reproduction
Provision a Generic Module server via WHMCS where the Provisioning flag "+AMP.Limits.NumericValueNodeUpperLimits.$GenericModule.App.MaxUsers" is set to 100 via a configurable option
See that the deployment template sets AMP.Limits.NumericValueNodeUpperLimits.$GenericModule.App.MaxUsers to 100
See that it doesn't actually go into the AMPConfig.cfg