-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.3.8, 5.0
-
MOODLE_403_STABLE, MOODLE_500_STABLE
- Enable Enrolment on payment plugin (just enable, don't change any other settings)
- Create a course and go to Enrolment methods page for it
- Select Enrolment on payment from Add method dropdown
- Try to save the form without changing anything (by default Allow enrolment is set to Yes)
- You will see error message Enrolments can not be enabled without specifying the payment account and form is not saved
- Change Allow enrolment on payment enrolments to No and Save changes
- Form is saved and enrolment is disabled
- No click enable icon for enrolment on payment instance
- Instance is enabled, but there are no account available
So saving form when Enrol on payment is not allowed leads to bypassing check of Enrolments can not be enabled without specifying the payment account