-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.3, 2.3.2, 2.4.1, 2.5
-
Component/s: Blog, Navigation
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
Fixed Branches:MOODLE_23_STABLE, MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-36215-m25 -
Pull Master Diff URL:
In a course go to Participants -> Course blogs. It should take you to a URL like blog/index.php?courseid=2 where you can see the course blogs.
If you have groups enabled, Participants -> Course blogs will still take you to a URL like blog/index.php?courseid=100 but that courseid may or may not exist. This is because when you have groups enabled the URL is supposed to be passing in a groupid and not a course id. In my case, it is passing a groupid of 100, but the blog/index.php is trying to load a course with an id of 100 instead of a group.
Looking in the blog/index.php it accepts a groupid parameter. If you manually change courseid=100 to groupid=100 it takes you to the correct page.
This is definitely happening on 2.2.3 and the code looks the same on 2.3.2.