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

Renamed roles changed back in backup/restore

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.0.3, 3.0.5, 3.1, 3.2.1, 3.6.6
    • None
    • Backup, Roles / Access
    • MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_36_STABLE
    • MDL-53850_master_renamed-roles-restore
    • Hide

      1. Create a course
      2. Rename all or just a few roles in the settings of the course
      3. Backed up the course (without registered users)
      4. Restore backup to new course, verify that all role renamings are restored
      5. Enrol some user into the course in different roles and do step 1 to 4 again.

      Show
      1. Create a course 2. Rename all or just a few roles in the settings of the course 3. Backed up the course (without registered users) 4. Restore backup to new course, verify that all role renamings are restored 5. Enrol some user into the course in different roles and do step 1 to 4 again.

    Description

      Only the renaming of the original role "Student" is kept when doing a backup and restoring as a new course. All other roles, both original roles and added roles, was restored to their system names in the new course. Tested in 2.8.7, 3.0.3 and 3.1

      I tested it this way (also tested in qa.moodle.net):

      1. Renamed ALL roles in the settings of the course
      2. Backed up the course (without registered users)
      3. Restored backup to new course

      Attachments

        Activity

          People

            Unassigned Unassigned
            cdipe Peter Diedrichs
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            11 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated: