Moodle
  1. Moodle
  2. MDL-34937

Quiz responses report fails to display the attempt grade.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      1. You need a quiz with completed attempts.

      2. Go to Results -> Responses.

      3. Make sure the finished attempts have the grade shown in grade column.

      Show
      1. You need a quiz with completed attempts. 2. Go to Results -> Responses. 3. Make sure the finished attempts have the grade shown in grade column.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
    • Rank:
      43493

      Description

      Silly typo:

      if ($attempt->state == quiz_attempt::FINISHED) {
          return;
      }
      

      should be

      if ($attempt->state != quiz_attempt::FINISHED) {
          return;
      }
      

        Activity

        Hide
        Tim Hunt added a comment -

        Submitting for integration.

        Show
        Tim Hunt added a comment - Submitting for integration.
        Hide
        Dan Poltawski added a comment -

        Integrated, thanks Tim.

        Show
        Dan Poltawski added a comment - Integrated, thanks Tim.
        Hide
        David Monllaó added a comment -

        Works as expected

        Show
        David Monllaó added a comment - Works as expected
        Hide
        Eloy Lafuente (stronk7) added a comment -

        YEAR!*

        CAF*, TOT!*

        • Your effort amazingly resulted. (unbelievable :-P)
        • Closing as fixed.
        • Tons of thanks.
        Show
        Eloy Lafuente (stronk7) added a comment - YEAR!* CAF*, TOT!* Your effort amazingly resulted. (unbelievable :-P) Closing as fixed. Tons of thanks.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: