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

Sync assingment submission when PTR from submission review page

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: Assignment add-on
    • Labels:
    • Testing Instructions:
      Hide

      This issue needs to be tested in a tablet device.

      Check automatic sync

      1. In the app, login as teacher and prefetch an assign that has several students (e.g. Master site > MM Dev Testing > Simple assignment, only online-text English).
      2. Open the assign and click "Participants".
      3. Select a participant (it doesn't matter if he's already graded, you can regrade him).
      4. Go offline and change his grade. After clicking Done, check that you see "Grade not synced" both in the left pane and in the right pane.
      5. Make sure you're in the "Submission" tab in the right pane and go online.
      6. Wait until the automatic synchronization is triggered. Check that both the left and right pane are refreshed and now it says "Graded".
      7. Go offline again and grade the same user again.
      8. Still in offline, select another user and grade him too.
      9. After grading this second user and still in offline, select the Grade tab again.
      10. Now go online and wait until the automatic synchronization is triggered. Check that the left pane is refreshed but not the right one (it's blocked because the teacher could be editing the grade). Check that now the first user says "Graded" in the left pane, but the second user still says "Grade not synced".

      Test manual sync

      1. Repeat all the steps in the previous section but instead of waiting for the automatic sync to trigger, perform a Pull To Refresh in the left pane instead. Check that the behaviour is the same as with automatic synchronization.
      2. Repeat all the steps in the previous section again but instead of waiting for the automatic sync to trigger, perform a Pull To Refresh in the right pane instead. Check that the behaviour is the same as with automatic synchronization.
      Show
      This issue needs to be tested in a tablet device. Check automatic sync In the app, login as teacher and prefetch an assign that has several students (e.g. Master site > MM Dev Testing > Simple assignment, only online-text English ). Open the assign and click "Participants". Select a participant (it doesn't matter if he's already graded, you can regrade him). Go offline and change his grade. After clicking Done, check that you see "Grade not synced" both in the left pane and in the right pane. Make sure you're in the "Submission" tab in the right pane and go online. Wait until the automatic synchronization is triggered. Check that both the left and right pane are refreshed and now it says "Graded". Go offline again and grade the same user again. Still in offline, select another user and grade him too. After grading this second user and still in offline, select the Grade tab again. Now go online and wait until the automatic synchronization is triggered. Check that the left pane is refreshed but not the right one (it's blocked because the teacher could be editing the grade). Check that now the first user says "Graded" in the left pane, but the second user still says "Grade not synced". Test manual sync Repeat all the steps in the previous section but instead of waiting for the automatic sync to trigger, perform a Pull To Refresh in the left pane instead. Check that the behaviour is the same as with automatic synchronization. Repeat all the steps in the previous section again but instead of waiting for the automatic sync to trigger, perform a Pull To Refresh in the right pane instead. Check that the behaviour is the same as with automatic synchronization.
    • Affected Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      As a teacher, if you perform a PTR on the submission review of an student with some offline grading data. Data is not synced.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              pferre22 Pau Ferrer
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: