Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31167 PHP strict META
  3. MDL-32978

Strict Standards Notice in Gradebook exports

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.3
    • Gradebook
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-32978-master-integration
    • Hide

      Follow part of the testing instructions from MDL-27322:

      Set debug level to developer.

      You'll need two students enrolled in a course and at least one gradable activity. The 2 (or more) students and the 1 (or more) activities must have an ID number set. You can set one on the activity settings and the user's profile.

      Go to the enrolment screen, edit one of the student's enrolments and suspend it. You want 1 suspended student and 1 active student.

      Grade the students on the activity.

      Perform exports in each format (txt, odf, xml and xls).

      No notices should appear either in the file or on the screen during the export process, and the export should contain the appropriate fields/values.

      Show
      Follow part of the testing instructions from MDL-27322 : Set debug level to developer. You'll need two students enrolled in a course and at least one gradable activity. The 2 (or more) students and the 1 (or more) activities must have an ID number set. You can set one on the activity settings and the user's profile. Go to the enrolment screen, edit one of the student's enrolments and suspend it. You want 1 suspended student and 1 active student. Grade the students on the activity. Perform exports in each format (txt, odf, xml and xls). No notices should appear either in the file or on the screen during the export process, and the export should contain the appropriate fields/values.

      In the gradebook.

      The 'Plain text file' export outputs the following notice:

      Strict Standards: Redefining already defined constructor for class grade_export_txt in /home/fred/www/repositories/testing_master/moodle/grade/export/txt/grade_export_txt.php on line 31

      All exports output the following notice:

      Strict Standards: Creating default object from empty value in /home/fred/www/repositories/testing_master/moodle/grade/lib.php on line 222

            fred Frédéric Massart
            fred Frédéric Massart
            Andrew Davis Andrew Davis
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.