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

Exception thrown when restoring 1.9 backup into current moodle

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-76108-master
    • Hide
      1. Use PHP 8.0
      2. Log in as a teacher, go to a course and in the More menu click 'Course reuse', then in the dropdown menu select Restore (or Course administration > Restore if using Classic theme).
      3. Import attached backup-features_demo-20081114-1356.zip backup file and restore it (without user data).
      4. Check that all activities have been restored correctly.
      Show
      Use PHP 8.0 Log in as a teacher, go to a course and in the More menu click 'Course reuse', then in the dropdown menu select Restore (or Course administration > Restore if using Classic theme). Import attached backup-features_demo-20081114-1356.zip backup file and restore it (without user data). Check that all activities have been restored correctly.
    • 1
    • HQ 2-week review sprint

    Description

      Spotted by praveen.moodle while testing MDLQA-16859.

      A exception is thrown during the restore of a backup file from 1.9 into current moodle

      Exception - count(): Argument #1 ($value) must be of type Countable|array, null given
      

      Attachments

        1. backup-features_demo-20081114-1356.zip
          481 kB
        2. backup-features_demo-20081114-1356-1.zip
          481 kB
        3. image-2022-10-28-18-08-36-518.png
          image-2022-10-28-18-08-36-518.png
          19 kB
        4. MDL-76108_1.png
          MDL-76108_1.png
          113 kB
        5. MDL-76108_2.png
          MDL-76108_2.png
          56 kB
        6. MDL-76108_3.png
          MDL-76108_3.png
          34 kB
        7. MDL-76108_4.png
          MDL-76108_4.png
          56 kB
        8. restore backup error.png
          restore backup error.png
          214 kB

        Issue Links

          Activity

            People

              amaia Amaia Anabitarte
              lameze Simey Lameze
              Luca Bösch Luca Bösch
              Jun Pataleta Jun Pataleta
              Mihail Geshoski Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 50 minutes
                  3h 50m

                  Clockify

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