jsform field defaults to no when field is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Lisa Seeto | ||
19.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
An issue was picked up on Administration Menu->Configure site->Site options->Security Settings which could be a bigger issue with the way JSForms processes.
Preconditions:
In the config.php file have "recaptchaonreg
Test:
1. Log in as site admin and go to Administration Menu->Configure site->Site options->Security Settings.
2. Scroll to "reCAPTCHA on user registration / contact us forms" and it should be set to "yes" as it reads from the config.php file. It should also be disabled.
3. Submit the page then view the Security Settings again.
Expected result:
The disabled "reCAPTCHA on user registration / contact us forms" button still shows "yes".
Actual result:
The disabled ""reCAPTCHA on user registration / contact us forms" button now shows "no"
This issue was also seen in admin/site/
Mahara: 19.10_STABLE
Browsers: Firefox and Chrome
DB: Postgres
Changed in mahara: | |
status: | New → In Progress |
assignee: | nobody → Lisa Seeto (lisaseeto) |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
no longer affects: | mahara/20.04 |
Patch for "master" branch: https:/ /reviews. mahara. org/10625