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

current group is not being saved in session

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Groups
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      $currentgroup = groups_get_activity_group($cm, true);

      Does not appear to be saving the current group in the session var any more. I find that if I change the group to any group and then load the page again without the group=x part of the url then the current group is reset to int(0) or 'All Participants'

      I see this behaviour both in the forum module and the quiz overview and other reports.

      I'm assuming this is related to Petr's recent SESSION handling changes and so assigning to him.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              jamiesensei Jamie Pratt
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10