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

Backup/restore course competency user data in a course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide

      Pre-requisites

      1. Have a few competencies ready
      2. Set the admin setting core_competency pushcourseratingstouserplans to False
      3. Create a fresh course and link a few competencies to it
      4. In the course competencies page, set the setting so that 'ratings' are pushed to the users' learning plans
      5. Enrol a few students and rate some of their competencies
      6. Backup the course including user data
      7. Create a learning plan for those students with the same competencies in
      8. Change the rating of some competencies in the learning plans

      Restore as new

      1. As an admin, restore the course to a new course including the user data
      2. Confirm that:
        • the course competencies were restored
        • the course competency setting was restored (set to pushing to plan)
        • the course ratings were restored
        • the learning plans of the users reflect the ratings from the course
        • evidence were added to the users' competencies indicating that the rating was restored with the course

      Restore as merge

      1. As an admin
      2. Create a course that contain some of the competencies in the backup, and some extra ones
      3. Rate some students on some of these competencies
      4. Restore the backup and confirm that:
        • the course competencies were restored (added to the existing ones)
        • the course competency setting was NOT restored (it must be set to NOT pushing to plan)
        • the course ratings were restored
        • the learning plans of the users DO NOT reflect the restored ratings in the course
        • evidence were added to the users' competencies indicating that the rating was restored with the course

      Disabled test

      1. Disable Competencies from the admin menu
      2. Backup a course that contained competencies, and confirm that there are no errors
      3. Restore a backup that contains competencies, and confirm that there are no errors
      4. Enable Competencies
      5. Confirm that the restored course (and its activities) do not contain competencies
      Show
      Pre-requisites Have a few competencies ready Set the admin setting core_competency pushcourseratingstouserplans to False Create a fresh course and link a few competencies to it In the course competencies page, set the setting so that 'ratings' are pushed to the users' learning plans Enrol a few students and rate some of their competencies Backup the course including user data Create a learning plan for those students with the same competencies in Change the rating of some competencies in the learning plans Restore as new As an admin, restore the course to a new course including the user data Confirm that: the course competencies were restored the course competency setting was restored (set to pushing to plan) the course ratings were restored the learning plans of the users reflect the ratings from the course evidence were added to the users' competencies indicating that the rating was restored with the course Restore as merge As an admin Create a course that contain some of the competencies in the backup, and some extra ones Rate some students on some of these competencies Restore the backup and confirm that: the course competencies were restored (added to the existing ones) the course competency setting was NOT restored (it must be set to NOT pushing to plan) the course ratings were restored the learning plans of the users DO NOT reflect the restored ratings in the course evidence were added to the users' competencies indicating that the rating was restored with the course Disabled test Disable Competencies from the admin menu Backup a course that contained competencies, and confirm that there are no errors Restore a backup that contains competencies, and confirm that there are no errors Enable Competencies Confirm that the restored course (and its activities) do not contain competencies
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53716-master

      Description

      When creating a backup for a course, there should be an option to backup the user data of the course competencies. Not sure how we will handle the evidence (or not ) upon restore though.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Dan Poltawski
              Tester:
              Jun Pataleta
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16