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

Upgrade helper sets 'file submission' to yes for online text and offline assignment types

    Details

    • Testing Instructions:
      Hide
      1. Go to Site administration -> Plugins -> Assignment plugins -> Submission plugins -> Manage submission plugins
      2. Set all the submission plugins to visible and enabled by default (in the settings for each plugin).
      3. Enable the "Assignment (2.2)" activity
      4. Create an "Advanced uploading of files" assignment in a course
      5. Use the Assignment upgrade tool to upgrade the new assignment
      6. View the settings for the new assignment
      7. Verify that "Online text" is "No", "File submissions" is "Yes" and "Submission comments" is "Yes"
      Show
      Go to Site administration -> Plugins -> Assignment plugins -> Submission plugins -> Manage submission plugins Set all the submission plugins to visible and enabled by default (in the settings for each plugin). Enable the "Assignment (2.2)" activity Create an "Advanced uploading of files" assignment in a course Use the Assignment upgrade tool to upgrade the new assignment View the settings for the new assignment Verify that "Online text" is "No", "File submissions" is "Yes" and "Submission comments" is "Yes"
    • Workaround:
      Hide

      Change the assignment settings to disable unwanted submission types after it has been upgraded.

      A workaround for a mass upgrade would be to disable all the new assignment plugins types by default, do the mass upgrade, then set them back to whatever they were before.

      Show
      Change the assignment settings to disable unwanted submission types after it has been upgraded. A workaround for a mass upgrade would be to disable all the new assignment plugins types by default, do the mass upgrade, then set them back to whatever they were before.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-34052-master

      Description

      When upgrading assignments from older versions of Moodle, the upgrade helper in Moodle 2.3 sets the setting 'file submissions' setting to "Yes" (plus Max files to 1 and max submission size to course upload limit) for the online text and offline assignment types. Expected behaviour is to upgrade the 'file submission' setting to "No" for both of these assignment types.

      Steps to recreate:

      • create offline or online text assignment (or restore from backup)
      • login as admin and upgrade assignment using upgrade helper
      • view settings of upgraded assignment - scroll to "File submission" setting

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/13