Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Component/s: Assignment (2.2)
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
Description
in assignment type upload:
- create a submission with files
- grade the submission with dirs containing files..
- submit and edit the files again - this time delete 1 dir that contains a file.
1) the delete seems to work fine. i suspect the delete doesn't really happen as i see the dir and caught a glimpse of its file during the page rendering back in the grading page.) -> shouldn't there be a confirmation since theres files inside the directory?
- submit and you should see the notices below:
Notice: Undefined index: subdirs in /home/aparup/mcode/m20/dev2/moodle/mod/assignment/renderer.php on line 102 Warning: Invalid argument supplied for foreach() in /home/aparup/mcode/m20/dev2/moodle/mod/assignment/renderer.php on line 102 Notice: Undefined index: dirname in /home/aparup/mcode/m20/dev2/moodle/mod/assignment/renderer.php on line 56 Notice: Undefined index: dirname in /home/aparup/mcode/m20/dev2/moodle/mod/assignment/renderer.php on line 57 Notice: Undefined index: subdirs in /home/aparup/mcode/m20/dev2/moodle/mod/assignment/renderer.php on line 55 Warning: Invalid argument supplied for foreach() in /home/aparup/mcode/m20/dev2/moodle/mod/assignment/renderer.php on line 55