Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69448

Course Copy in 3.9 and 3.9.1 not working for teacher with extended permissions

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_39_STABLE
    • Hide
      1. Login as admin
      2. Navigate to Users > Permissions > Define roles in site administration
      3. Edit the Teacher role
      4. Allow the following capabilities:
        • moodle/course:create
        • moodle/course:view
      5. Create a new user
      6. Create a new course
      7. Enrol new user as a teacher in the new course
      8. Log out
      9. Log in as the new user
      10. Navigate to the new course
      11. Select Copy course from the Actions menu
      12. Fill in the Course full name and Course short name fields
      13. Confirm Include user data field is frozen to No
      14. Press Copy and view
      15. Confirm course to be copied to is listed under Course copies in progress
      16. Run cron
      17. Confirm course to be copied is created
      Show
      Login as admin Navigate to Users > Permissions > Define roles in site administration Edit the Teacher role Allow the following capabilities : moodle/course:create moodle/course:view Create a new user Create a new course Enrol new user as a teacher in the new course Log out Log in as the new user Navigate to the new course Select Copy course from the Actions menu Fill in the Course full name and Course short name fields Confirm Include user data field is frozen to No Press Copy and view Confirm course to be copied to is listed under Course copies in progress Run cron Confirm course to be copied is created

      Hello,

      I made a fresh moodle Install with 3.9 and 3.9.1.

      I modified the teacher role with the permissions found here: https://docs.moodle.org/39/en/Course_copy

      The teacher sees the copy menue item in the course under the gear icon. After clicking on the button the copy dialoge appears but without "include user data" and "include role enrolements". After clicking on the button "copy and view" nothing happens instand I geht the error message

      error/copy_class_field_not_found

      As an admin copying is no problem.

            pholden Paul Holden
            Sanders Tobias Sanders
            Mihail Geshoski Mihail Geshoski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 10 minutes
                2h 10m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.