Issue Details (XML | Word | Printable)

Key: MDL-9016
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Yu Zhang
Reporter: Penny Leach
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 23/Mar/07 01:58 PM   Updated: 23/Mar/07 03:24 PM
Return to search
Component/s: Backup
Affects Version/s: 1.8
Fix Version/s: 1.7.2, 1.8, 1.9

Participants: Penny Leach and Yu Zhang
Security Level: None
Resolved date: 23/Mar/07
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
it's naughty.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Yu Zhang made changes - 23/Mar/07 03:23 PM
Field Original Value New Value
Assignee Eloy Lafuente (stronk7) [ stronk7 ] Yu Zhang [ lazyfish ]
Yu Zhang added a comment - 23/Mar/07 03:24 PM
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.

Yu Zhang made changes - 23/Mar/07 03:24 PM
Resolution Fixed [ 1 ]
Fix Version/s 1.9 [ 10190 ]
Fix Version/s 1.7.2 [ 10174 ]
Status Open [ 1 ] Resolved [ 5 ]
toyomoyo committed 2 files to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 23/Mar/07 04:18 PM
fix for MDL-9016, clearing cache after deletion of course_content
MODIFY lib/accesslib.php   Rev. 1.221.2.28    (+9 -0 lines)
MODIFY lib/moodlelib.php   Rev. 1.837.2.35    (+8 -3 lines)
toyomoyo committed 2 files to 'Moodle CVS' on branch 'MOODLE_17_STABLE' - 23/Mar/07 04:20 PM
fix for MDL-9016, clearing context cache after remove_course_content()
MODIFY lib/moodlelib.php   Rev. 1.774.2.30    (+8 -3 lines)
MODIFY lib/accesslib.php   Rev. 1.166.2.42    (+9 -0 lines)
toyomoyo committed 2 files to 'Moodle CVS' - 23/Mar/07 04:21 PM
merged fix for MDL-9016, clear context cache after remove_course_contents()
MODIFY lib/moodlelib.php   Rev. 1.869    (+8 -3 lines)
MODIFY lib/accesslib.php   Rev. 1.250    (+9 -0 lines)