Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1635 Grade assignment submissions
  3. MOBILE-1855

Add prefetch and offline grading features for assignment

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: Assignment add-on
    • Labels:
    • Testing Instructions:
      Hide

      To test that, use an assignment with simple grading, outcomes and feedback comments set up.

      1. Grade assignment submission in offline or server down.
      2. Go back to the main screen of the assingment and confirm that you see a sync warning message.
      3. Confirm there is a Sync link on the context menu. Clicking on it in offline/server down shows an error.
      4. Go back online or turn server up and click synchronize. Confirm that grades have been stored.
      5. Grade assignment submission again in offline. Before synchronizing, go to Moodle web and grade it in there. Now go back in the app and click sync in online. Check that you see a message telling that offline grades have been discarded.
      6. Finally, grade assignment submission again in offline, go back online and wait for sync to trigger (could take more than 10 minutes). Check that grades are automatically sent.

      Grade the assignment on the web using the gradebook and sync later:

      1. Using the app (OFFLINE). Grade numerical, outcomes and feedback.
      2. Save, so they will be stored offline.
      3. Using the website: Navigate to the course, and use the grades link on the navigation block.
      4. Grade an outcome from website. (Use different selection from the previous on step 1).
      5. Back in the app. Go online and sync.
      6. Check in the app and on website that the numerical grade and feedback are the ones you entered on step 1.
      7. Confirm that the outcome is the one you entered on step 4.
      8. Repeat steps 1-3.
      9. Grade with numerical grading from website. (You'll need to check the override checkbox on gradebook for the row you are setting). Use different selection from the previous on step 1.
      10. Back in the app. Go online and sync.
      11. Check in the app and on website that only feedback is being synced. Outcome and numerical is not saved because they are overridden.
      12. From the app, grade and save again, grade and outcomes won't be saved.
      13. Uncheck and save the "Overide" checkbox you set on previous step.
      14. From the app, grade and save again, grade and outcomes will be saved.

      Note: From the app we cannot know if grades are overridden (and locked).

      Show
      To test that, use an assignment with simple grading, outcomes and feedback comments set up. Grade assignment submission in offline or server down. Go back to the main screen of the assingment and confirm that you see a sync warning message. Confirm there is a Sync link on the context menu. Clicking on it in offline/server down shows an error. Go back online or turn server up and click synchronize. Confirm that grades have been stored. Grade assignment submission again in offline. Before synchronizing, go to Moodle web and grade it in there. Now go back in the app and click sync in online. Check that you see a message telling that offline grades have been discarded. Finally, grade assignment submission again in offline, go back online and wait for sync to trigger (could take more than 10 minutes). Check that grades are automatically sent. Grade the assignment on the web using the gradebook and sync later: Using the app (OFFLINE). Grade numerical, outcomes and feedback. Save, so they will be stored offline. Using the website: Navigate to the course, and use the grades link on the navigation block. Grade an outcome from website. (Use different selection from the previous on step 1). Back in the app. Go online and sync. Check in the app and on website that the numerical grade and feedback are the ones you entered on step 1. Confirm that the outcome is the one you entered on step 4. Repeat steps 1-3. Grade with numerical grading from website. (You'll need to check the override checkbox on gradebook for the row you are setting). Use different selection from the previous on step 1. Back in the app. Go online and sync. Check in the app and on website that only feedback is being synced. Outcome and numerical is not saved because they are overridden. From the app, grade and save again, grade and outcomes won't be saved. Uncheck and save the "Overide" checkbox you set on previous step. From the app, grade and save again, grade and outcomes will be saved. Note: From the app we cannot know if grades are overridden (and locked).
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.2

      Description

      Add prefetch and offline grading features for assignment

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              pferre22 Pau Ferrer
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Tester:
              Berta Maroto
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Dec/16

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days, 1 hour
                  2d 1h
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified