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

Assignment Upgrade tool improvements for large numbers of assignments

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Use the local plugin "generator" to generate a lot of instances of mod_assignment(at least 200). (/admin/tool/generator/index.php)

      View the assignment upgrade tool. You should be able to change the number of assignments that are displayed at once. The number of pagination links should be correct.

      Upgrade all assignments. The upgrade process should be updated once per assignment by the browser in real time (instead of seeing a blank page until the entire batch upgrade is complete).

      The upgrade process should complete and should not hit the php memory or time limits.

      Show
      Use the local plugin "generator" to generate a lot of instances of mod_assignment(at least 200). (/admin/tool/generator/index.php) View the assignment upgrade tool. You should be able to change the number of assignments that are displayed at once. The number of pagination links should be correct. Upgrade all assignments. The upgrade process should be updated once per assignment by the browser in real time (instead of seeing a blank page until the entire batch upgrade is complete). The upgrade process should complete and should not hit the php memory or time limits.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
      git@github.com:netspotau/moodle-mod_assign.git
    • Pull Master Branch:

      Description

      I did some testing of the assignment upgrade tool with 2800 assignments from a customer database and found some areas needing improvement. Specifically:

      • The pagination is hardcoded to 5 - should be a drop down list defaulting to 100
      • Needs set timeout and session close for batch upgrades
      • Needs output buffer reworking so the progress is displayed in realtime during the upgrade process
      • Display more verbose error when an exception is thrown during an upgrade
      • Display the correct number of pagination links for the assignment upgrade table

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Jun/12