AjaxInitScript/InitCmd not called after Choice error
Concerned version
Version: 2.0.16
Summary
- Configure a Choice with Demo | SSL
- Fail Demo
- Choice is displayed again
- But SSL Initscript is not called
❌ - Try SSL => fail
❌
Possible fixes
Choice extractFormInfo
only calls AjaxInitScript + InitCmd when no choice is already selected.
In the case described above, a choice is selected, but fails, and the Choice form is displayed again. We should call AjaxInitScript+InitCmd everytime we call extractFormInfo
instead.
Other possibility: call these methods in _buildAuthLoop
?