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

Strict warning when viewing a non anonymous response in feedback

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.4.7, 2.5.3
    • Component/s: Feedback
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable full debugging in your php.ini and your moodle config.
      2. Create a feedback activity with record user names not set to anonymous.
      3. Add some items to the activity and submit a response as a student.
      4. Log back in as admin and click on the response just submitted by the user in the "Show response" tab.
      5. Make sure you do not get any warnings.
      Show
      Enable full debugging in your php.ini and your moodle config. Create a feedback activity with record user names not set to anonymous. Add some items to the activity and submit a response as a student. Log back in as admin and click on the response just submitted by the user in the "Show response" tab. Make sure you do not get any warnings.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-41894-master
    • Sprint:
      BACKEND Sprint 5

      Description

      Following Strict warning is generated when viewing a non anonymous response in feedback

      Warning: Creating default object from empty value in /var/www/stable/pgmaster/mod/feedback/show_entries.php on line 45 Call Stack: 0.0007 322440 1. {main}() /var/www/stable/pgmaster/mod/feedback/show_entries.php:0 
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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