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

lib backup/restorelib duplicate members group

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.2
    • 1.9.4
    • Backup
    • None
    • 1.9.2 moodle with a 8.2.4 postgres installed in a SUSE Linux Enterprise Server 10 SP1
    • PostgreSQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      The function restore_create_groups_members duplicate members of group in the same course, when teacher restore a course by parts, and any part of the restore file have users, because the lib doesn't use the groups_add_member function, that check if user exists in group, use insert_record without checking first.

      Bye

      Attachments

        Activity

          People

            skodak Petr Skoda
            apiedras Antonio Piedras Morente
            Tim Hunt Tim Hunt
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Jan/09