Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.9.11, 3.10.8, 3.11.4
-
None
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
Description
When a teacher reviews grading table, grading status differ from web and app.
The problem is that the WS is not returning grades on group submissions when there are no submission for the user.
On gradingtable.php the SQL that defines the table information says:
// For group assignments, there can be a grade with no submission. |
$from .= ' LEFT JOIN {assign_grades} g |
ON g.assignment = :assignmentid2
|
AND u.id = g.userid
|
AND (g.attemptnumber = s.attemptnumber OR s.attemptnumber IS NULL) ';
|
While on the WS is only checking:
[...] AND s.attemptnumber = ag.attemptnumber |
I think we should add the "OR s.attemptnumber IS NULL" to the SQL.
Attachments
Issue Links
- blocks
-
MOBILE-3787 Assignment - Submission in group status are not correct
-
- Closed
-