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

After restoring course editing teacher isn't able to add activities / resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.3
    • Component/s: Backup
    • Labels:
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      If one backup includes information about allowed/restricted modules and the target site has $CFG->restrictmodulesfor disabled (none), the process ignores this setting partially leading to courses with no activities allowed. This apply when restoring to new course only.

      Solution: add one new check when restoring course information about the status of $CFG->restrictmodulesfor

        Attachments

          Activity

            People

            • Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Helen Foster
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/May/11