Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20198

Group not in a Grouping can access Wiki available for Grouping only

    XMLWordPrintable

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide
      1. Login as admin
      2. site admin setting > misc > experimental > enable grouping
      3. create 3 new users: aa, bb, ab.
      4. select a course and enrolled the above new users
      5. create GroupA and GroupB.
      6. add the following users in groupA: aa and ab
      7. add the following users in groupB: bb and ab
      8. select grouping tab, create 'wikigrouping' and add groupB
      9. create wiki group type activity and set grouping to 'wikigrouping'
      1. login as ab
      2. make some changes to the wiki
      3. select other wiki (top right) to groupB — the wiki should display the updated content.
      4. access the the other group through browser url (eg: http://mymoodle.com/mod/wiki/view.php?id=4&groupid=1, assumming that groupid 1 is assigned for groupA). — cannot access error should display.
      Show
      Login as admin site admin setting > misc > experimental > enable grouping create 3 new users: aa, bb, ab. select a course and enrolled the above new users create GroupA and GroupB. add the following users in groupA: aa and ab add the following users in groupB: bb and ab select grouping tab, create 'wikigrouping' and add groupB create wiki group type activity and set grouping to 'wikigrouping' login as ab make some changes to the wiki select other wiki (top right) to groupB — the wiki should display the updated content. access the the other group through browser url (eg: http://mymoodle.com/mod/wiki/view.php?id=4&groupid=1 , assumming that groupid 1 is assigned for groupA). — cannot access error should display.
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Pull from Repository:

      Description

      The bug is related to using the "Groupings" feature with "Separate groups" settings for a Wiki.

      If a student is in more than one group - for example 'A-group' and 'B-group' - and a 'Wiki-grouping' is created that includes 'B-group' in the 'Wiki-grouping', (but not 'A-group'), the Wiki opens in 'A-group' view for the student. The student then edits and saves information in the Wiki, but the Wiki is not listed in the available "Other Wikis" list, and cannot be viewed by the Teacher. This error only occurs if the student is in another group where the group-name of this other group is alphabetically lower than the group that has been included in the 'Wiki-grouping' (e.g. A-group is lower than B-group). Also when the Teacher initially accesses the Wiki, it opens for a group of the lowest alphabetically named group in the Course, even if that group is not included in the 'Wiki-grouping'.

        Attachments

          Activity

            People

            Assignee:
            rwijaya Rossiani Wijaya
            Reporter:
            margotsch Margot Schuhmacher
            Peer reviewer:
            Rajesh Taneja
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            22 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jan/12