Fetching wrong id/groupid?

Fetching wrong id/groupid?

by Scott Hand -
Number of replies: 0
It started with calendar problems where group events (after 1.6 - 1.8 upgrade) were not appearing on the calendar (user, course, and site events work fine). The group events were in the DB just not displaying. They had a group id assigned to them, so I traced the groupid.

The groupid=83 in mdl_group for the course in which I am working.

If I change in mdl_event from groupid=83 to groupid=43, it works and the group event appears in the calendar within the class.

mdl_group id=43 is another group in another class.

If I create a group event for group 43 in the class where group 43 exists, it places the event in the course where group 83 exists. And after adding the event, it takes me directly to the calendar for the gid83 course though the breadcrumb (navigation) indicates I'm still in the course where gid43 exists.

It seems 'somewhere' (I don't know where) it's trying to call the id rather then groupid in mdl_groups_courses_groups.


table.jpg

Any help and direction would be appreciated!
------
Moodle 1.8.2+ (2007021520)
OSX, MySQL 4.1.22, PH 5.1.4, Apache 1.3.33
Average of ratings: -