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

Check special sync cases on feedback

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: Feedback add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test 1

      1. Web as a teacher: Configure a feedback to allow only one submission: Go to the activity setting and change "Allow multiple submissions" to No. The activity should not have any response.
      2. App as a student: Prefetch the activity and go offline.
      3. Web as a student: Complete the feedback.
      4. App as a student: Complete the feedback in offline. Go online and sync.
      5. App as a student: An error on app should be raised explaining the reason.
      6. Web as a teacher: Check the feedback from the app has not been recorded.

      Test 2

      1. Web as a teacher: Configure a feedback to allow more than one submission: Go to the activity setting and change "Allow multiple submissions" to No. The activity should not have any response.
      2. Repeat steps 2-4 from test 1.
      3. App as a student: Check no error is raised
      4. Web as a teacher: Check the feedback from the app has been recorded.

      Test 3. Note: Give different answers from the app and from website and take note of them.

      1. App as a student: Prefetch a feedback with multiple pages and go offline.
      2. App as a student: Start answering a feedback, submit page 1 and navigate to page 2.
      3. Web as a student: Start answering a feedback submit pages 1 go to page 2.
      4. App as a student: Respond page 2, go online and finish the feedback.
      5. Web as a teacher: Check the feedback response has the answers from you entered on website on page 1 and the others from the app. (so page 1 from the app has been discarded).
      Show
      Test 1 Web as a teacher: Configure a feedback to allow only one submission : Go to the activity setting and change "Allow multiple submissions" to No. The activity should not have any response. App as a student: Prefetch the activity and go offline. Web as a student: Complete the feedback. App as a student: Complete the feedback in offline. Go online and sync. App as a student: An error on app should be raised explaining the reason. Web as a teacher: Check the feedback from the app has not been recorded. Test 2 Web as a teacher: Configure a feedback to allow more than one submission : Go to the activity setting and change "Allow multiple submissions" to No. The activity should not have any response. Repeat steps 2-4 from test 1. App as a student: Check no error is raised Web as a teacher: Check the feedback from the app has been recorded. Test 3. Note: Give different answers from the app and from website and take note of them. App as a student: Prefetch a feedback with multiple pages and go offline. App as a student: Start answering a feedback, submit page 1 and navigate to page 2. Web as a student: Start answering a feedback submit pages 1 go to page 2. App as a student: Respond page 2, go online and finish the feedback. Web as a teacher: Check the feedback response has the answers from you entered on website on page 1 and the others from the app. (so page 1 from the app has been discarded).
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.3.0

      Description

      If the user continued a feedback in the app:

      • If in web the feedback is finished a no more submissions are allowed: error
      • If in web the feedback is finished and more submissions are allowed: a new submission will be created
      • If in web the feedback is not finished, questions values will be overridden only if the completion time of the app answers is bigger than the completion time of the web answers

      If the user started a feedback in the app

      • If in web the feedback is finished a no more submissions are allowed: error
      • If in web there aren't feedbacks or a feedback finished and more submissions are allowed: a new submission will be created
      • If in web the feedback is not finished, questions values will be overridden only if the completion time of the app answers is bigger than the completion time of the web answers

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                26/May/17

                  Time Tracking

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