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

Upload file assignment submission problem

    XMLWordPrintable

Details

    • MySQL
    • MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      1. Login as teacher and add advanced upload assignment.
      2. Login as student and go the assignment page
      3. Upload a file to the system (without pressing the Save Changes button).
      4. Click on any pages other than the current assignment page.
      5. Click the assignment title again and the student will get the message "No files submitted yet".
      6. Login as teacher. Make sure there's no student's record/activity.

      Show
      1. Login as teacher and add advanced upload assignment. 2. Login as student and go the assignment page 3. Upload a file to the system (without pressing the Save Changes button). 4. Click on any pages other than the current assignment page. 5. Click the assignment title again and the student will get the message "No files submitted yet". 6. Login as teacher. Make sure there's no student's record/activity.

    Description

      Hi there,

      I found two problem in assignment submission.
      A.) There is an "draft" entry (without any document shown, please refer to assignment_01.bmp) in the "View submitted Assignment" page if a student upload their assignment without press the Save Change button.
      Steps:
      1.) Login as teacher and add an online assignment.
      2.) Login as student and go the assignment page
      3.) Upload a file to the system (without pressing the Save Changes button).
      4.) Click on any pages other than the current assignment page.
      4.) Click the assignment title again and the student will get the message "No files submitted yet". The student can't find the submitted assignment.
      4.) Login as teacher. The teacher will note that a student uploaded his assignment but you can access it.

      Personally, I will suggest that system should automatically save the file in server once the student has uploaded the file to server.

      B.) There is an entry (please refer to assignment_02.bmp) in the "View submitted Assignment" page if a student press Save Changes button without uploading any files
      Steps:
      1.) Login as a student and go the assignment page.
      2.) Press the Save Changes button without uploading any files to the system
      3.) Login as a teacher and check the assignment submission records. Then, I found that the system will mark the submitted as succesfully. But, of course, I can't access to any files.

      It is a bug. I suggest that there should have a checking in the upload.php to disallow the student to press the Save Changes button if they haven't uploaded any files yet.

      Thanks.

      Attachments

        1. assignment_01.bmp
          478 kB
        2. assignment_02.bmp
          540 kB
        3. mypatch
          1 kB
        4. mypatch
          2 kB
        5. patch
          3 kB
        6. patch
          3 kB
        7. patch
          1 kB
        8. screeshot1-bug.png
          screeshot1-bug.png
          23 kB

        Issue Links

          Activity

            People

              rwijaya Rossiani Wijaya
              michleung Michelle Leung
              Ankit Agarwal Ankit Agarwal
              Aparup Banerjee Aparup Banerjee
              Tim Barker Tim Barker
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May, David Woloszyn, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              29 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12