Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.5, 1.9.7
-
Component/s: Wiki (1.x)
-
Labels:None
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
Wikis set to Teacher type using Visible groups should allow the teacher to create a wiki instance for each group. The visible group attribute should then allow all group members to see all of these wiki instances. This works as intended ONLY when the teacher creates a wiki entry for each group. If the teacher has not yet created a wiki for a group, let's say Group 2,, then Group 2 will be unable to read any of the other wiki entries. They will see the attached message when they visit this wiki activity. Once the teacher creates a wiki entry for their group then everything works as intended.
In this scenario, I expect all groups should be able to see all of the wikis a teacher has created for each group regardless if the teacher failed to create a wiki entry for every group.
The current version of view.php tests for a default entry when calling wiki_get_other_wikis(), so in this case it will always fail. The quick and dirty answer is to eliminate that part of the test, and I've created a patch against 1.9.7. The better answer (probably) is creating a default entry point for this particular situation.