Moodle
  1. Moodle
  2. MDL-26513

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
    • Rank:
      16245

      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

        Activity

        Hide
        Eloy Lafuente (stronk7) added a comment -

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

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

        Many thanks Super-Sol!

        Show
        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: