-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.3.5, 3.4.2, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
This is a follow up minor bug report from testing MDL-61308.
The mod_assign exported JSON files for grades and submission contain an attemptnumber value that is incorrect (off by 1) with respect to the path of the exported JSON file.
e.g.
cat "./Assignment Assign 3 - With Retakes Allowed/studentsubmissions/4/attempt 1/grade/data.json" | json_pp |
{
|
"grader" : 13, |
"timemodified" : "Wednesday, 2 May 2018, 10:56 AM", |
"grade" : "8.00000", |
"timecreated" : "Tuesday, 1 May 2018, 9:40 PM", |
"attemptnumber" : "0" |
}
|
|
cat "./Assignment Assign 3 - With Retakes Allowed/studentsubmissions/4/attempt 2/grade/data.json" | json_pp |
{
|
"grade" : "49.99000", |
"timemodified" : "Wednesday, 2 May 2018, 10:58 AM", |
"timecreated" : "Wednesday, 2 May 2018, 10:56 AM", |
"attemptnumber" : "1", |
"grader" : 13 |
}
|
|
cat "Assignment Assign 6 - With Blind Marking./attempt 1/submission/data.json" | json_pp |
{
|
"latest" : "Yes", |
"status" : "No submission", |
"timemodified" : "Tuesday, 1 May 2018, 9:44 PM", |
"timecreated" : "Tuesday, 1 May 2018, 9:44 PM", |
"attemptnumber" : "0", |
"groupid" : "0" |
}
|
- duplicates
-
MDL-62366 Followup: Fix attempt numbers for mod_assign exported JSON.
- Closed