-
Bug
-
Resolution: Fixed
-
Major
-
3.9, 3.9.2, 3.10
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-69156_master -
Easy
-
Actual result
- Log in to your Moodle site as not admin user.
- The logged in user should not have the capability moodle/course:changeidnumber.
- Go to a course.
- Select 'Copy course' from the Actions menu.
- Enter a course full name and short name then click the button 'Copy and view'.
- Now should be thrown a error/copy_class_field_not_found exception.
Expected result
- Log in to your Moodle site as not admin user.
- The logged in user should not have the capability moodle/course:changeidnumber.
- Go to a course.
- Select 'Copy course' from the Actions menu.
- Enter a course full name and short name then click the button 'Copy and view'.
- Verify that course being copied is listed as source course and that the current operation goes from backup to restore to complete. (This will take a few minutes.)
- Verify that you receive a message that the backup and restore is complete.
- Click the link for the course copy and verify that a correct copy has been made.
- will be (partly) resolved by
-
MDL-69448 Course Copy in 3.9 and 3.9.1 not working for teacher with extended permissions
- Closed