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

Missing firstnamephonetic property error in recent activity page for some activities

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.2
    • Component/s: Glossary, Quiz
    • Labels:
    • Testing Instructions:
      Hide
      • Create a new glossary which students can add entries to
      • Create a new quiz with a simple question in it
      • As a student take the quiz and create a glossary
      • View the Recent activity page (/course/recent.php?id=<courseid>)
        • Confirm absence of errors
      Show
      Create a new glossary which students can add entries to Create a new quiz with a simple question in it As a student take the quiz and create a glossary View the Recent activity page (/course/recent.php?id=<courseid>) Confirm absence of errors
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-44055-master

      Description

      Using Moodle 2.6.1+ (Build: 20140207)

      On the Recent activity page,

      1.- the following error is issued:
      You need to update your sql to include additional name fields in the user object.

      line 3570 of \lib\moodlelib.php: call to debugging()
      line 926 of \mod\quiz\lib.php: call to fullname()
      line 171 of \course\recent.php: call to quiz_get_recent_mod_activity()

      2.- And this other error is issued specifically for Glossary and Quiz activities:

      Missing firstnamephonetic property in $user object, this is a performance problem that needs to be fixed by a developer. Please use user_picture::fields() to get the full list of required fields.

      line 196 of \lib\outputcomponents.php: call to debugging()
      line 2254 of \lib\outputrenderers.php: call to user_picture->__construct()
      line 941 of \mod\quiz\lib.php: call to core_renderer->user_picture()
      line 258 of \course\recent.php: call to quiz_print_recent_mod_activity()

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Mar/14