Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3893

Assignment: student can't remove submissions in app

XMLWordPrintable

    • Hide
      1. In a 4.5 site
        1. In the LMS, create an assignment with online text the option "Require students to click the submit button" set to "Yes".
        2. In the app, go to the assignment and add a new submission, but don't submit it.
        3. Click "Remove submission" and confirm.
        4. Verify the submission has been removed in the app and in the LMS.
        5. Add a new submission, but don't submit it.
        6. Switch the device to offline.
        7. Click "Remove submission" and confirm.
        8. Verify the app displays "No submission" and "This Assignment has offline data to be synchronised."
        9. Switch the device to online and refresh the assignment.
        10. Verify the submission has been removed in the app and in the LMS.
        11. Switch the device to offline.
        12. Add a new submission, but don't submit it.
        13. Click "Remove submission" and confirm.
        14. Verify the app displays "No submission" and it does NOT display "This Assignment has offline data to be synchronised."
        15. Switch the device to online.
        16. Add a new submission, but don't submit it.
        17. Switch the device to offline.
        18. Click "Remove submission" and confirm.
        19. Add a new submission with different content that the one created in step 16 Don't submit it.
        20. Verify the app displays the new submission and "This Assignment has offline data to be synchronised."
        21. Switch the device to online and refresh the assignment.
        22. Verify the content of the submission has been updated with the content of step 19 in both the app and the LMS.
        23. Repeat these steps using an assignment with files instead of online text.
      2. In a 4.4:
        1. In the LMS, create an assignment with online text and the option "Require students to click the submit button" set to "Yes".
        2. In the app, go to the assignment and add a new submission, but don't submit it.
        3. Verify the "Remove submission" button is not displayed.
        4. Edit the submission, remove the content and click "Save".
        5. Verify it displays the error "Nothing was submitted" and the page does not change.
        6. In the LMS, create an assignment with files and the option "Require students to click the submit button" set to "Yes".
        7. In the app, go to the assignment and add a new submission, but don't submit it.
        8. Verify the "Remove submission" button is not displayed.
        9. Edit the submission, remove the content and click "Save".
        10. Verify it displays the error "Nothing was submitted" and the page does not change.
        11. Switch the device to offline.
        12. Edit the submission, remove the content and click "Save".
        13. Verify it displays the error "Nothing was submitted" and the page does not change.
        14. Add some content and save the submission offline.
        15. Verify the "Remove submission" button is not displayed.
      Show
      In a 4.5 site In the LMS, create an assignment with online text the option "Require students to click the submit button" set to "Yes". In the app, go to the assignment and add a new submission, but don't submit it. Click "Remove submission" and confirm. Verify the submission has been removed in the app and in the LMS. Add a new submission, but don't submit it. Switch the device to offline. Click "Remove submission" and confirm. Verify the app displays "No submission" and "This Assignment has offline data to be synchronised." Switch the device to online and refresh the assignment. Verify the submission has been removed in the app and in the LMS. Switch the device to offline. Add a new submission, but don't submit it. Click "Remove submission" and confirm. Verify the app displays "No submission" and it does NOT display "This Assignment has offline data to be synchronised." Switch the device to online. Add a new submission, but don't submit it. Switch the device to offline. Click "Remove submission" and confirm. Add a new submission with different content that the one created in step 16 Don't submit it. Verify the app displays the new submission and "This Assignment has offline data to be synchronised." Switch the device to online and refresh the assignment. Verify the content of the submission has been updated with the content of step 19 in both the app and the LMS. Repeat these steps using an assignment with files instead of online text. In a 4.4: In the LMS, create an assignment with online text and the option "Require students to click the submit button" set to "Yes". In the app, go to the assignment and add a new submission, but don't submit it. Verify the "Remove submission" button is not displayed. Edit the submission, remove the content and click "Save". Verify it displays the error "Nothing was submitted" and the page does not change. In the LMS, create an assignment with files and the option "Require students to click the submit button" set to "Yes". In the app, go to the assignment and add a new submission, but don't submit it. Verify the "Remove submission" button is not displayed. Edit the submission, remove the content and click "Save". Verify it displays the error "Nothing was submitted" and the page does not change. Switch the device to offline. Edit the submission, remove the content and click "Save". Verify it displays the error "Nothing was submitted" and the page does not change. Add some content and save the submission offline. Verify the "Remove submission" button is not displayed.
    • MOODLE_405_STABLE
    • Moodle Apps - 2024 i3.1, Moodle Apps - 2024 i3.2, Moodle Apps - 2024 i3.3, Moodle Apps - 2024 i4

      Error message: could not save submission

      moodle 3.11.3

      1. Student uploads file submission in assignment activity and saves submission
      2. Student goes back to submission and deletes the uploaded file.
      3. Student tries to save and gets Error message: could not save submission

      Tested on two independent installations. Submission deletion in browser works fine.

       

      If you follow the same steps to reproduce that issue on LMS it happens the same. The main difference is that on LMS the user has the possibility to "Remove submission" on a button next to the "Edit submission" button.

      There is no remove submission WS available in the LMS part so, there's work to do there.

       

       

        1. Mar-01-2022 16-12-41.gif
          Mar-01-2022 16-12-41.gif
          562 kB
        2. MOBILE-3893_44_s5.png
          MOBILE-3893_44_s5.png
          344 kB
        3. MOBILE-3893_45_s23-s19.png
          MOBILE-3893_45_s23-s19.png
          222 kB
        4. screenshot-1.png
          screenshot-1.png
          87 kB
        5. screenshot-2.png
          screenshot-2.png
          16 kB

            albert.gasset@moodle.com Albert Gasset
            ralfh Ralf Hilgenstock
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 weeks, 1 day, 4 hours, 49 minutes
                5w 1d 4h 49m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.