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

Data module not filtering list by group on [Open Uni]-PILOT_1 [course]

    XMLWordPrintable

    Details

    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Opened: 2007-06-28 10:23 - (OU Bug 3396)

      Lisa reported this on Monday 25/6, on Starling. I've discovered that this is
      caused by a restore bug (mod/data/restorelib.php) where the 'groupid' column in
      mdl_data_records is either set to 0 or the pre-backed up groupid.


      I'm attaching a patch for 2 files,

      • There is a fix for data_records_restore_mods function in mod/data/restorelib.php, which is hopefully uncontroversial.
      • The 2nd file is an admin script to fix the group ID column in 'mdl_data_records' table, at present relying on a grouping ID (which is no use for core at present ). We need a different approach, but this hopefully shows what's involved.

        Attachments

          Activity

            People

            Assignee:
            nfreear Nick Freear
            Reporter:
            nfreear Nick Freear
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Oct/07