Moodle

Course start date ignored during restore

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: Backup
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

Starting in version 1.9.4 and continuing into 1.9.5, the course start date chosen during the restore process on backup/restore.php is not applied to the restored course. To replicate the problem, backup a course with an older start date, restore it to a new course, setting the course start date to a future date during the restore process. When the restore is finished, the start date set in the form on backup/restore.php will not be applied.

Issue Links

Activity

Hide
Michael Avelar added a comment -

This issue is related to http://tracker.moodle.org/browse/MDL-19859, which has a working patch.

I have also attached an alternate patch here, which addresses the same section of code and is tested as working.

Show
Michael Avelar added a comment - This issue is related to http://tracker.moodle.org/browse/MDL-19859, which has a working patch. I have also attached an alternate patch here, which addresses the same section of code and is tested as working.

People

Vote (7)
Watch (5)

Dates

  • Created:
    Updated: