Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-22253

If there are an uneven number of students, more auto groups are created than requested

    Details

    • 2.9 Status:
      Resolved

      Description

      If there are an uneven number of students, more auto groups are created than requested

      To reproduce:
      Add an odd number of students to a course site
      Click on Auto Groups
      On the Create New Group(s), select the Student role
      Select 'Create random groups from members with selected role(s).'
      Keep the default 'Split by number of groups needed'
      Enter a group title
      Enter 2 for 'Number of groups'
      Click Update

      3 groups were created, with the third group having only 1 member
      The student in the third group should have been added to one of the other groups

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              zqian Zhen Qian added a comment -

              r111276. For the "mod" number of site participant (after divide with random group number), add them randomly to the existing randomly created group numbers. So that for site with 5 participant for 3 random groups, the following two cases are both acceptable: 3-1-1, 2-2-1, etc.

              Show
              zqian Zhen Qian added a comment - r111276. For the "mod" number of site participant (after divide with random group number), add them randomly to the existing randomly created group numbers. So that for site with 5 participant for 3 random groups, the following two cases are both acceptable: 3-1-1, 2-2-1, etc.
              Hide
              hudson Hudson CI Server added a comment -

              Integrated in site-manage trunk #370 (See http://builds.sakaiproject.org:8080/job/site-manage%20trunk/370/)
              SAK-22253 deal with randome group creation where the site participant number is not of multiples of random group number (Revision 111276)

              Result = SUCCESS

              Show
              hudson Hudson CI Server added a comment - Integrated in site-manage trunk #370 (See http://builds.sakaiproject.org:8080/job/site-manage%20trunk/370/ ) SAK-22253 deal with randome group creation where the site participant number is not of multiples of random group number (Revision 111276) Result = SUCCESS
              Hide
              agschmidt Andrea Schmidt added a comment -

              Verified this is working correctly on sakai/trunk on Oracle - Built: 08/14/12 08:00 - Sakai Revision: 111443 (Kernel 1.4.0-SNAPSHOT)- Server sakai-nightly.uits.iupui.edu

              Show
              agschmidt Andrea Schmidt added a comment - Verified this is working correctly on sakai/trunk on Oracle - Built: 08/14/12 08:00 - Sakai Revision: 111443 (Kernel 1.4.0-SNAPSHOT)- Server sakai-nightly.uits.iupui.edu
              Hide
              ncaidin Neal Caidin added a comment -

              Works great in trunk, just as expected. Ready for merging.

              Show
              ncaidin Neal Caidin added a comment - Works great in trunk, just as expected. Ready for merging.
              Hide
              zqian Zhen Qian added a comment -

              r111276 has been merged into 2.9.x in r111582.

              Show
              zqian Zhen Qian added a comment - r111276 has been merged into 2.9.x in r111582.
              Hide
              agschmidt Andrea Schmidt added a comment -

              Used this feature again today, and while it is working on https://qa29.longsight.com/portal, and it was working on http://nightly2.sakaiproject.org:8082/portal (can't recheck right now - server is being rebuilt), it is not working on http://nightly2.sakaiproject.org:8087/portal/.

              Show
              agschmidt Andrea Schmidt added a comment - Used this feature again today, and while it is working on https://qa29.longsight.com/portal , and it was working on http://nightly2.sakaiproject.org:8082/portal (can't recheck right now - server is being rebuilt), it is not working on http://nightly2.sakaiproject.org:8087/portal/ .

                People

                • Assignee:
                  zqian Zhen Qian
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code