-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.9.11, 3.10.8, 3.11.4
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
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.
- blocks
-
MOBILE-3787 Assignment - Submission in group status are not correct
-
- Closed
-
- will help resolve
-
MOBILE-4037 Submission status do not take team submission into account
-
- Open
-