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

"Download all submissions" gives blank page when no submissions

    XMLWordPrintable

    Details

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

      To test the patch:

      1. Create an assignment (mod_assign) which accepts file submissions
      2. Click on "download all submissions"
      3. Confirm that you see a message saying "Nothing has been submitted for this assignment"
      4. Make a submission to the assignment
      5. Click on "download all submissions" again
      6. Confirm that you get a zip file containing the submission
      Show
      To test the patch: Create an assignment (mod_assign) which accepts file submissions Click on "download all submissions" Confirm that you see a message saying "Nothing has been submitted for this assignment" Make a submission to the assignment Click on "download all submissions" again Confirm that you get a zip file containing the submission
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37037-master

      Description

      When trying to download all assignments for an assignment where there are no submissions, the user sees a completely blank page. I would expect to either:

      • see a message explaining that there are no submissions
      • receive an empty zip file

      To reproduce:

      1. Create an assignment (mod_assign) which accepts file submissions
      2. Click on "download all submissions"
      3. You should see a blank page
      4. Make a submission to the assignment
      5. Click on "download all submissions" again
      6. You should get a zip file containing the submission

        Attachments

          Activity

            People

            Assignee:
            maherne Michael Aherne
            Reporter:
            maherne Michael Aherne
            Peer reviewer:
            Damyon Wiese
            Integrator:
            Dan Poltawski
            Tester:
            Dan Poltawski
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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