Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.1, 3.0.2
-
Component/s: Unit tests
-
Testing Instructions:
-
Difficulty:Easy
-
Affected Branches:MOODLE_30_STABLE
-
Fixed Branches:MOODLE_29_STABLE, MOODLE_30_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-mdl-52656
-
Pull Master Diff URL:
Description
Discovered while experimenting with MDL-52000.
I'm calling a function, forum_print_overview, which sets $SESSION->currentgroup.
I'm then changing user with setUser() to a user in a different group, and calling the same function again.
However it seems that the session is not cleaned, and the same currentgroup persists between calls.