Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81502

Password access checks for quiz attempts do not persist in the mobile app

XMLWordPrintable

    • MOODLE_403_STABLE, MOODLE_404_STABLE

      Hi,

      This has been reported in the forum (link) to be something happening and preventing a valid use case.

      The Moodle mobile app is session-less, meaning that the value of the global $SESSION does not persist between different requests, this is preventing this functionally to work as expected.

      As a possible solution we could use a user preference (stored in the data base) or implement something specific by checking the global WS_SERVER in the mod/quiz/accessrule/password/rule.php

      To reproduce:

      • Create a quiz with several questions in different pages, access rule password enabled
      • A student starts an attempt in the mobile app, introduces the password and complete the first question
      • A teacher changes the quiz password
      • The student then tries to open the second question (different page)
      • A error is displayed (the password has changed)

      Expected result:

      • The student is able to continue the quiz without being asked for the password again

            jleyva Juan Leyva
            isabelrenedo Isabel Renedo Rouco
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m

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