Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-7380 New groups and groupings
  3. MDL-8294

During upgrade group IDs aren't maintained - breaks activities/modules

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Groups
    • Labels:
      None
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      During upgrade groups and members are transferred from old tables 'mdl_groups_temp', 'mdl_groups_members_temp'. In the former case the records aren't sorted on ID and the group ID may be lost in the function 'groups_create_group' - the ID is auto-incremented, so a new one is used.

      Note, may be database dependent.

        Attachments

          Activity

            People

            Assignee:
            nfreear Nick Freear
            Reporter:
            nfreear Nick Freear
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, 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:
              31/Mar/07