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

question_out_of_sequence_exception when running on iOS Moodle App

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 OS, preferably an iOS device.

      1. In web, create a quiz with at least 2 pages.
      2. Login as a student both in the app and in web, with the same user.
      3. In the app, open the quiz so you see the first page (don't answer it yet).
      4. In web with the same user, open the quiz, answer the first page and change page so the answers are submitted.
      5. In the app, answer the first page with a different answer and click to go to the next page. Check that you don't see any error and the second page is loaded.
      6. In web, answer the second page and change page so the answers are submitted.
      7. In the app, answer the second page with a different answer and click the "Back" button (top-left). Check that you don't see any error and you go back to the quiz entry page.
      Show
      This issue only needs to be tested in 1 OS, preferably an iOS device. In web, create a quiz with at least 2 pages. Login as a student both in the app and in web, with the same user. In the app, open the quiz so you see the first page (don't answer it yet). In web with the same user, open the quiz, answer the first page and change page so the answers are submitted. In the app, answer the first page with a different answer and click to go to the next page. Check that you don't see any error and the second page is loaded. In web, answer the second page and change page so the answers are submitted. In the app, answer the second page with a different answer and click the "Back" button (top-left). Check that you don't see any error and you go back to the quiz entry page.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.1

      Description

      Hello,

      One of our client is having issue while processing quizz.

      They handle an exam session based on quizz on IOS devices with the iPad Moodle application. Every student uses his/her own login to process the quizz. They have around 20 devices at the same time communicating with the Moodle instance over wifi. The exam is taken by various students once a week. Every time, they have a few students (around 5) with an error on the iOS application.  The text show this error message:

      You have entered data outside the normal sequence. This can occur if you use your browser's Back or Forward buttons; please don't use these during the test. It can also happen if you click on something while a page is loading. Click <strong>Continue</strong> to resume.(submissionoutofsequencefriendlymessage)

       

      We were unable to reproduce this error on a regular basis. Sometimes it occurs, sometimes it doesn’t. We were able to reproduce three times using the “Back button” (top left) while answering the quiz. We did not find a way to reproduce this problem systematically and tested different things. So the process below may not be accurate.

      HOW TO REPRODUCE

      • Create a Quiz with 3 pages
      • Configure the mobile app.
      • Attend a quiz from the Mobile App
      • Answer the first question
      • Submit your question
      • Answer you second question
      • Press the back button.

      WHAT TO EXPECT

      • The screen should be back on the previous question

      WHAT ACTUALLY HAPPENS

      • An Alert message is shown with the flowing text:  You have entered data outside the normal sequence. This can occur if you use your browser's Back or Forward buttons; please don't use these during the test. It can also happen if you click on something while a page is loading. Click <strong>Continue</strong> to resume

       

      We are sure that every student use his/her own account and that the problem is not a student having the same quizz open on two different iPads. The problem seems to occur only on IOS as we were not able to reproduce the error on Android.

       

      We got a generic message into the log, nothing helpful.

      Database transaction aborted automatically in webservice/rest/server.php

       

      We would like some help to resolve this issue. We know that it is difficult to reproduce, and we would like some feedback to invest this issue further.

       

      ENVIRONMENT:

      Our client applications stack:

      Moodle: 3.1.14 (Build: 20180910)
      IOS: 11.3 & 11.4 (iPad)
      Moodle Mobile: 3.5.1

       

      Our test stack:

      Moodle: 3.1.14 (Build: 20180910)
      IOS: 9.3.5 (iPad)
      Moodle Mobile: 3.5.2

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                29/Mar/19