Cannot change default membership period back to 'no end date'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
New
|
Undecided
|
Unassigned |
Bug Description
MySQL8 on main branch
May be related to this bug here: https:/
To replicate:
1. Create an institution with a default membership period e.g. 3 weeks
2. Save settings
3. Change default membership period to 'No end date'
4. Save settings
Expected:
- Settings saved
Actual:
- If I clear the input field and change the option to "No end date", I don't get an error, but the settings are not saved
- If I just clear the input field and save the settings, I get an error (and settings are not saved):
[WAR] f1 (lib/pieforms/
Call stack (most recent first):
log_message("A non-numeric value encountered", 8, true, true, "/home/
error(2, "A non-numeric value encountered", "/home/
pieform_
Pieform-
Pieform-
Notes:
My instinct in this scenario was to clear the field i.e. remove the number 3 and save, so perhaps this would be the best option, rather than requiring people to also select 'No end date' after they have cleared the field.
Pieform-
Pieform:
pieform(
description: | updated |
description: | updated |