Moodle

Overview report does not work correctly with groups

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE

Description

Logged in as a tutor to a course with groups of students

Two things
1 All students were included in the table not just the students in this group.
2 The following message preceded the table

Notice: Undefined variable: groupstudents in /var/www/html/icmatest/ou-moodle-dev/mod/quiz/report/overview/overview_table.php on line 45

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/html/icmatest/ou-moodle-dev/mod/quiz/report/overview/overview_table.php on line 45
ERROR: syntax error at or near ")" at character 92

SELECT AVG(qg.grade) AS grade FROM dev_quiz_grades qg WHERE quiz = 132 AND qg.userid IN ( )
? line 796 of lib/dmllib.php: call to debugging()
? line 591 of lib/dmllib.php: call to get_recordset_sql()
? line 48 of mod/quiz/report/overview/overview_table.php: call to get_record_sql()
? line 1242 of lib/tablelib.php: call to quiz_report_overview_table->build_table()
? line 399 of mod/quiz/report/overview/report.php: call to table_sql->out()
? line 94 of mod/quiz/report.php: call to quiz_overview_report->display()

Notice: Trying to get property of non-object in /var/www/html/icmatest/ou-moodle-dev/mod/quiz/report/overview/overview_table.php on line 50

Notice: Trying to get property of non-object in /var/www/html/icmatest/ou-moodle-dev/mod/quiz/report/overview/overview_table.php on line 51

Activity

Hide
Jamie Pratt added a comment -

All your bug reports are for Moodle HEAD right?? Or are you working with the OU Moodle with the reports merged in?? Just asking to be sure.

Thanks for the report.

Show
Jamie Pratt added a comment - All your bug reports are for Moodle HEAD right?? Or are you working with the OU Moodle with the reports merged in?? Just asking to be sure. Thanks for the report.
Hide
Philip Butcher added a comment -

I'm using OU Moodle with the reports merged in. I must admit to not being sure which of the Moodle versions I should be reporting against when filling in the bug.

Show
Philip Butcher added a comment - I'm using OU Moodle with the reports merged in. I must admit to not being sure which of the Moodle versions I should be reporting against when filling in the bug.
Hide
Jamie Pratt added a comment -

Please report the bugs as being bugs affecting Moodle 2.0 as Tim merged the quiz reports into your Moodle from Moodle 2.0.

Not sure if it would be a good idea to put at the top of the description of each issue something like '*Bug found in quiz reports merged into OU internal version of Moodle*??? Just as to make it clear to other users of the tracker that this bug may or may not be present in the main version.

Show
Jamie Pratt added a comment - Please report the bugs as being bugs affecting Moodle 2.0 as Tim merged the quiz reports into your Moodle from Moodle 2.0. Not sure if it would be a good idea to put at the top of the description of each issue something like '*Bug found in quiz reports merged into OU internal version of Moodle*??? Just as to make it clear to other users of the tracker that this bug may or may not be present in the main version.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: