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

Alternate name fields notice when submitting quiz attempt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Make sure you have debug set to developer in your config.
      2. Create a quiz with only one essay question.
      3. Allow teachers permission 'quiz:emailnotifysubmission' in course context.
      4. Make sure you have atleast one teacher enrolled in the course.
      5. As a student attempt the quiz and submit your answers. Make sure no error or notices are generated during the process.
      Show
      Make sure you have debug set to developer in your config. Create a quiz with only one essay question. Allow teachers permission 'quiz:emailnotifysubmission' in course context. Make sure you have atleast one teacher enrolled in the course. As a student attempt the quiz and submit your answers. Make sure no error or notices are generated during the process.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-42219-master
    • Sprint:
      BACKEND Sprint 6

      Description

      When submitting a quiz attempt containing one Essay question.

      You need to update your sql to include additional name fields in the user object.
      line 3598 of /lib/moodlelib.php: call to debugging()
      line 1543 of /mod/quiz/locallib.php: call to fullname()
      line 1644 of /mod/quiz/locallib.php: call to quiz_send_notification()
      line 1757 of /mod/quiz/locallib.php: call to quiz_send_notification_messages()
      line ? of unknownfile: call to quiz_attempt_submitted_handler()
      line 154 of /lib/classes/event/manager.php: call to call_user_func()
      line 88 of /lib/classes/event/manager.php: call to core\event\manager::process_buffers()
      line 2249 of /lib/dml/moodle_database.php: call to core\event\manager::database_transaction_commited()
      line 92 of /lib/dml/moodle_transaction.php: call to moodle_database->commit_delegated_transaction()
      line 192 of /mod/quiz/processattempt.php: call to moodle_transaction->allow_commit()
      

      Discovered while testing MDL-41908.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13