Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23261

assignment -> using filemanager, deleting a folder that contains a file seems to delete the folder but renderering the folder tree has notices and deleted folder is rendered.

    XMLWordPrintable

    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

        Attachments

          Activity

            People

            • Assignee:
              nebgor Aparup Banerjee
              Reporter:
              nebgor Aparup Banerjee
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: