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

Followup: Fix attempt numbers for mod_assign exported JSON.

    XMLWordPrintable

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull 3.4 Branch:
    • Pull Master Branch:
      MDL-62366-master

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18