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

Workshop submissions showing name field debugging message.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Workshop
    • Testing Instructions:
      Hide

      Check for the following while moving through the instructions below.

      • [Test] make sure there are no notices in the recent activity block.
      • [Test] make sure there are no notices in the workshop activity.
      • [Test] make sure there are no notices in the recent activity report.

      Note: you may find http://docs.moodle.org/dev/Workshop/fakesubmissions.php useful

      1. Create a workshop activity.
      2. Complete all the suggested requirements for the setup phase (green ticks will appear when you have met the requirements).
      3. Move the workshop to the submission phase.
      4. Make some submissions as a few different students and then check the recent activity block.
      5. log back in as a teacher / manager / admin and check the "All submissions" section of mod/workshop/view.php
      6. Allocate submissions to students and then move the workshop into the assessment phase.
      7. Log in as different students and assess other submissions.
      8. Check back to the recent activity block once the assessment has been made.
      9. Log in as a teacher and check the recent activity report.
      10. Move the workshop through the Grading evaluation phase and the closed phase.
      Show
      Check for the following while moving through the instructions below. [Test] make sure there are no notices in the recent activity block. [Test] make sure there are no notices in the workshop activity. [Test] make sure there are no notices in the recent activity report. Note: you may find http://docs.moodle.org/dev/Workshop/fakesubmissions.php useful Create a workshop activity. Complete all the suggested requirements for the setup phase (green ticks will appear when you have met the requirements). Move the workshop to the submission phase. Make some submissions as a few different students and then check the recent activity block. log back in as a teacher / manager / admin and check the "All submissions" section of mod/workshop/view.php Allocate submissions to students and then move the workshop into the assessment phase. Log in as different students and assess other submissions. Check back to the recent activity block once the assessment has been made. Log in as a teacher and check the recent activity report. Move the workshop through the Grading evaluation phase and the closed phase.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-41158-master-two
    • Sprint:
      BACKEND Sprint 6

      Description

      When students make submissions in the workshop a debugging message about missing data in the user object is displayed.

      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 2209 of /lib/outputrenderers.php: call to user_picture->__construct()
      line 194 of /mod/workshop/renderer.php: call to core_renderer->user_picture()
      line 215 of /lib/outputrenderers.php: call to mod_workshop_renderer->render_workshop_submission_summary()
      line 191 of /mod/workshop/view.php: call to plugin_renderer_base->render()
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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