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

Select current course by default when restoring a single activity from within a course or activity

XMLWordPrintable

    • MOODLE_26_STABLE, MOODLE_28_STABLE, MOODLE_401_STABLE
    • MOODLE_403_STABLE
    • MDL-44190-master
    • Hide

      Initial setup

      1. Login as admin.
      2. Create 2 new courses called Course 1 and Course 2.
      3. Create a new Assignment activity called Test assign in Course 2.
      4. Navigate to the created assignment.
      5. Click on More > Backup.
      6. Backup the activity and download the backup file.

      Restore from the Course menu

      1. Navigate to Course 1.
      2. Click More > Course reuse.
      3. Change to Restore in the tertiary navigation.
      4. Upload the backup file.
      5. Click Restore.
      6. Click Continue.
      7. Verify that the Course 1 option will be selected by default.
      8. Click Continue.
      9. Verify that you can restore the activity normally.

      Restore from the Activity menu

      1. Navigate to Course 1.
      2. Navigate to Test assign activity in Course 1.
      3. Click More > Restore.
      4. Upload the backup file.
      5. Click Restore.
      6. Click Continue.
      7. Verify that the Course 1 option will be selected by default.
      8. Click Continue.
      9. Verify that you can restore the activity normally.

      Restore from the Site Administration

      1. Navigate to Course 1.
      2. Click More > Course reuse.
      3. Change to Backup in the tertiary navigation.
      4. Try to backup the course and download the backup file.
      5. Navigate to Site Administration > Courses > Manage courses and categories.
      6. Click More > Restore course.
      7. Upload the downloaded backup file.
      8. Verify that you can restore the course normally.
      Show
      Initial setup Login as admin. Create 2 new courses called Course 1 and Course 2. Create a new Assignment activity called Test assign in Course 2. Navigate to the created assignment. Click on More > Backup. Backup the activity and download the backup file. Restore from the Course menu Navigate to Course 1. Click More > Course reuse. Change to Restore in the tertiary navigation. Upload the backup file. Click Restore. Click Continue. Verify that the Course 1 option will be selected by default. Click Continue. Verify that you can restore the activity normally. Restore from the Activity menu Navigate to Course 1. Navigate to Test assign activity in Course 1. Click More > Restore. Upload the backup file. Click Restore. Click Continue. Verify that the Course 1 option will be selected by default. Click Continue. Verify that you can restore the activity normally. Restore from the Site Administration Navigate to Course 1. Click More > Course reuse. Change to Backup in the tertiary navigation. Try to backup the course and download the backup file. Navigate to Site Administration > Courses > Manage courses and categories. Click More > Restore course. Upload the downloaded backup file. Verify that you can restore the course normally.
    • 1
    • Team Hedgehog Sprint 1.3, Team Hedgehog Sprint 1 review, Team Hedgehog Sprint 2.1, Team Hedgehog 2023 Sprint 2.0, Team Hedgehog 2023 Sprint 2.1, Team Hedgehog 2023 Sprint 2.2, Team Hedgehog 2023 Sprint 2.3, Team Hedgehog 2023 Review 2

      While restoring a backup file (As administrator) which includes a single activity, from the course's setting block.
      I am asked to choose a course to restore to. very weird.

      Same behaviour when I am restoring an activity from the setting block of that activity (not on a course level).

        1. course1_selected_default_activity.png
          course1_selected_default_activity.png
          67 kB
        2. course1_selected_default_course.png
          course1_selected_default_course.png
          62 kB
        3. error_restoring.png
          error_restoring.png
          70 kB
        4. MDL-44190-activity_menu.png
          MDL-44190-activity_menu.png
          314 kB
        5. MDL-44190-activity-menu.png
          MDL-44190-activity-menu.png
          247 kB
        6. MDL-44190-course_menu.png
          MDL-44190-course_menu.png
          290 kB
        7. MDL-44190-course-menu.png
          MDL-44190-course-menu.png
          247 kB
        8. MDL-44190-sire-administration.png
          MDL-44190-sire-administration.png
          412 kB
        9. restore_successful_activity.png
          restore_successful_activity.png
          62 kB
        10. restore_successful_course.png
          restore_successful_course.png
          51 kB
        11. restore-radio-checked.png
          restore-radio-checked.png
          33 kB
        12. two-submit-buttons.png
          two-submit-buttons.png
          40 kB

            huongn@moodle.com Huong Nguyen
            nadavkav Nadav Kavalerchik
            David Woloszyn David Woloszyn
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 14 minutes
                2d 14m

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