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

Group menu in wrong order when groupings are used

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. Create 2 groups on a course, Group A and Group B. (The test activity course on qa.moodle.net already has these groups.)
      2. Create a grouping called 'Wrong order grouping'.
      3. Add Group B to the grouping, then add Group A.
      4. Create a new forum, using separate groups and selecting the grouping that was created.
      5. View the forum and look at the group dropdown.

      EXPECTED: The group dropdown should show 'Group A' and then 'Group B' (alphabetical order), just as if you hadn't selected a grouping.
      BEFORE FIX: Before fix for this problem it shows Group B first.

      Show
      1. Create 2 groups on a course, Group A and Group B. (The test activity course on qa.moodle.net already has these groups.) 2. Create a grouping called 'Wrong order grouping'. 3. Add Group B to the grouping, then add Group A. 4. Create a new forum, using separate groups and selecting the grouping that was created. 5. View the forum and look at the group dropdown. EXPECTED: The group dropdown should show 'Group A' and then 'Group B' (alphabetical order), just as if you hadn't selected a grouping. BEFORE FIX: Before fix for this problem it shows Group B first.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43252-master

      Description

      (This is a regression introduced in Moodle 2.5 when the group caching was introduced. The problem still occurs in Moodle 2.6 as tested on qa.moodle.net.)

      If you set an activity to use e.g. separate groups mode, with a grouping selected, then teachers see a dropdown they can use to select a group. However, in this situation, the groups do not appear in alphabetical order.

      Groups do correctly appear in alphabetical order when no grouping is in use.

        Attachments

          Activity

            People

            • Assignee:
              quen Sam Marshall
              Reporter:
              quen Sam Marshall
              Peer reviewer:
              Tim Hunt
              Integrator:
              Sam Hemelryk
              Tester:
              Jérôme Mouneyrac
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/14