Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.3.5, 3.4.2, 3.5
-
Component/s: Course
-
Testing Instructions:
-
Affected Branches:MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
Fixed Branches:MOODLE_33_STABLE, MOODLE_34_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip_
MDL-62011_master_approval_of_course_request
Description
If someone has requested a new course with shortname "xyz" and after that but before the aproval a course was created manually with the same shortname "xyz" the approval fails with an error.
Testinstruction
- Activate the setting "enablecourserequests".
- Login as a non admin user.
- Go to <your-moodle>/course/request.php.
- Fill in all the needed information and memorize the chosen shortname.
- Post this request.
- Login as Admin or as a user who can approve course requests.
- Create a new course manually with the shortname you memorized before.
- Go to <your-moodle>/course/pending.php.
- Look out for the made request and click on the button "Approve"
- The error message appears and the script stops.