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

Followup: Fix attempt numbers for mod_assign exported JSON.

    XMLWordPrintable

Details

    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-62366-master
    • Hide

      This is covered by unit tests. But you can also manually run the testwithmanager.php script (see MDL-61571 for the original script location) in the Moodle root folder. Make sure you've purged the cache (php admin/cli/purge_caches.php), before running testwithmanager.php.

      If testing manually, make sure you have assignment submissions and graded assignments in your Moodle setup.

      After testing manually with testwithmanager.php script, go your moodledata/temp/privacy folder, and reviewed the exported files produced from the export and check the assignment's attemptnumber in the JSON matches the 'attempt n' value in the path.

      Show
      This is covered by unit tests. But you can also manually run the testwithmanager.php script (see MDL-61571 for the original script location) in the Moodle root folder. Make sure you've purged the cache (php admin/cli/purge_caches.php), before running testwithmanager.php. If testing manually, make sure you have assignment submissions and graded assignments in your Moodle setup. After testing manually with testwithmanager.php script, go your moodledata/temp/privacy folder, and reviewed the exported files produced from the export and check the assignment's attemptnumber in the JSON matches the 'attempt n ' value in the path.

    Description

      This is a followup from MDL-61308 to fix the attempt number values in the exported JSON for mod_assign grades and submissions.

      Attachments

        Issue Links

          Activity

            People

              zig Zig Tan (Inactive)
              zig Zig Tan (Inactive)
              Mihail Geshoski Mihail Geshoski
              David Monllaó David Monllaó
              Adrian Greeve Adrian Greeve
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18