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

    • Any
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • 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

            nfreear Nick Freear
            nfreear Nick Freear
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07