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

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

    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

        Gliffy Diagrams

          Activity

          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          Resolving as fixed, PULL-334 has been created to integrate this. Ciao

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - Resolving as fixed, PULL-334 has been created to integrate this. Ciao
          Hide
          tsala Helen Foster added a comment -

          Many thanks Super-Sol!

          Show
          tsala Helen Foster added a comment - Many thanks Super-Sol!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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