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

Syntax Error - Enrolling Users into a course with locked quiz grade items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 2.3.6, 2.4.3
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Enrolments, Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with a quiz.
      2. Lock the quiz in the gradebook.
      3. Manually enroll a user who is not already in the course, using the AJAX interface, and with the option "Recover user's old grades if possible".

      The enrollment should be performed, and there should be no javascript error message.

      Show
      Create a course with a quiz. Lock the quiz in the gradebook. Manually enroll a user who is not already in the course, using the AJAX interface, and with the option "Recover user's old grades if possible". The enrollment should be performed, and there should be no javascript error message.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:

      Description

      Syntax error message received from javascript when enrolling user in course

      To replicate:

      1. Create a course with a quiz.
      2. Lock the quiz in the gradebook.
      3. Manually enroll a user who is not already in the course, and with the
        option "Recover user's old grades if possible".

      The enrollment will be performed, but javascript will display a "syntax error" box.

        Attachments

          Activity

            People

            • Assignee:
              mpetrowi Matt Petro
              Reporter:
              moodlecvqo CLAIRE BROWNE
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/13