emmarichardson / local_autogroup

A local plugin for Moodle 2.7 onwards which handles the dynamic creation, population and cleanup of groups on courses.
6 stars 19 forks source link

Dulicated and empty groups in a certain course #23

Open tpil opened 5 years ago

tpil commented 5 years ago

Hello, I need you help with a serious bug I have. I have created 5 different custom profile fields to allow teachers with non editing permissions create up to five different groups in a course using the auto group plugin.

image

This course has 400 users enrolled so far.

After teachers reached out because they were having issues with their groups, I checked on the groups of this course and I noticed that there are duplicated groups and empty groups.I had already #set the plugin to clean old groups when all the participants leave the group. I have tried to delete the empty groups manually and the site is crashing every time.

image

Do you know what is the issue causing this failure? Do you have any suggestion on how to fix this..?. I tried to delete the groups set types and recreate them for this course but the problem continues..

emmarichardson commented 5 years ago

We would need a lot more information.  What version of Moodle?  What version of plugin?  Which of these groups were created automatically?  Was the course restored from another course?  What do all your settings look like?

Emma

On Nov 6, 2019, 8:19 AM -0700, tpil notifications@github.com, wrote:

Hello, I need you help with a serious bug I have. I have created 5 different custom profile fields to allow teachers with non editing permissions create up to five different groups in a course using the auto group plugin. This course has 400 users enrolled so far. After teachers reached out because they were having issues with their groups, I checked on the groups of this course and I noticed that there are duplicated groups and empty groups.I had already #set the plugin to clean old groups when all the participants leave the group. I have tried to delete the empty groups manually and the site is crashing every time. Do you know what is the issue causing this failure? Do you have any suggestion on how to fix this..?. I tried to delete the groups set types and recreate them for this course but the problem continues.. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tpil commented 5 years ago

Hello Emma,

Thank you for your immediate response. Regarding your questions:

  1. Moodle Build 3.6.1
  2. Auto -group version (2.4.1 - 2019010300)
  3. All the groups are created automatically. I have no editing teachers in this Moodle site. All the courses are using this plugin to group students with their teachers.
  4. No, it wasn't restored. However, this course was uploaded 1 year ago. Since then, new students have enrolled and other students unenrolled due to their expiration date (duration period 1 year for every user).
  5. Auto group Default settings

image

image

This site is running for a year and there wasn't any problem so far. I have done the same process for all the courses on this site and it was working so far. I checked the courses and I didn't find this bug anywhere else except this particular course.

Also, I tried to delete the group by setting in the course and reconfigure them but nothing changed..

emmarichardson commented 5 years ago

If it is just this one course, then something must have happened that corrupted something.   I notice that you don’t have group membership checked.  You might check that and then delete all the autogroup settings and see if it cleans anything up.  I suggest backing up the course first though.  You also might try a back up and restore and see if that helps anything.

Emma

Emma Richardson Distance Learning Coordinator Direct: 719-650-3037 On Nov 6, 2019, 8:19 AM -0700, tpil notifications@github.com, wrote:

Hello, I need you help with a serious bug I have. I have created 5 different custom profile fields to allow teachers with non editing permissions create up to five different groups in a course using the auto group plugin. This course has 400 users enrolled so far. After teachers reached out because they were having issues with their groups, I checked on the groups of this course and I noticed that there are duplicated groups and empty groups.I had already #set the plugin to clean old groups when all the participants leave the group. I have tried to delete the empty groups manually and the site is crashing every time. Do you know what is the issue causing this failure? Do you have any suggestion on how to fix this..?. I tried to delete the groups set types and recreate them for this course but the problem continues.. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.