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

Quiz user overrides generates alternate names debugging message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with a quiz, multiple users and multiple groups.
      2. Click on the quiz.
      3. Under 'Quiz administration' select 'User overrides'.
      4. Click 'Add user override' and ensure there is no debugging message.
      5. Visit <yoursite>/admin/settings.php?section=experimentalsettings and check 'Enable group members only'.
      6. Edit the quiz and check 'Available for group members only'.
      7. Click on the quiz.
      8. Under 'Quiz administration' select 'User overrides'.
      9. Click 'Add user override' and ensure there is no debugging message.
      10. Choose a user and add an override for them.
      11. On the page listing the table of the current overrides ensure there are no debugging messages.
      Show
      Create a course with a quiz, multiple users and multiple groups. Click on the quiz. Under 'Quiz administration' select 'User overrides'. Click 'Add user override' and ensure there is no debugging message. Visit <yoursite>/admin/settings.php?section=experimentalsettings and check 'Enable group members only'. Edit the quiz and check 'Available for group members only'. Click on the quiz. Under 'Quiz administration' select 'User overrides'. Click 'Add user override' and ensure there is no debugging message. Choose a user and add an override for them. On the page listing the table of the current overrides ensure there are no debugging messages.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43037_master
    • Story Points:
      5
    • Sprint:
      BACKEND Sprint 7

      Description

      You need to update your sql to include additional name fields in the user object.

      line 3580 of /lib/moodlelib.php: call to debugging()
      line 163 of /mod/quiz/override_form.php: call to fullname()
      line 191 of /lib/formslib.php: call to quiz_override_form->definition()
      line 76 of /mod/quiz/override_form.php: call to moodleform->moodleform()
      line 115 of /mod/quiz/overrideedit.php: call to quiz_override_form->__construct()

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            Tim Hunt
            Integrator:
            Sam Hemelryk
            Tester:
            Jason Fowler
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jan/14