Moodle

restoring into existing course, deleting first deletes context and doesn't recreate it

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.7.2, 1.8, 1.9
  • Component/s: Backup
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

Description

it's naughty.

Activity

Hide
Yu Zhang added a comment -

Put a call to clear context cache after remove_course_contents(). A new context will be created for this course (and actually used!) so this should be fixed.

Show
Yu Zhang added a comment - Put a call to clear context cache after remove_course_contents(). A new context will be created for this course (and actually used!) so this should be fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: