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

WebService mod_quiz_get_quizzes_by_courses doesn't return some important information when quiz is closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.0
    • Quiz
    • MOODLE_500_STABLE

      In the app, we use some information returned by mod_quiz_get_quizzes_by_courses to be able to determine if a user is able to review an attempt or not. For example: reviewattempt, reviewspecificfeedback, etc.

      These fields are only returned if $accessmanager->prevent_access() returns an empty array.

      When a quiz is closed, the function prevent_access() returns the message: "This quiz is currently not available." This means that, when a quiz is closed, we cannot determine if the user is able to review the attempts or not. There might be other cases affected by this depending on the quiz access rules installed in the site.

       

            jleyva Juan Leyva
            dpalou Dani Palou
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

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