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

The export_file function in privacy/classes/tests/request/content_writer.php doesn't work with more than one file with the same name

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 3.9
    • Privacy
    • None
    • MOODLE_39_STABLE

      If the testing scenario has more than one file with the same name the function export_file (privacy/classes/tests/request/content_writer.php) only returns one file. This is happen because the filepath is the same and the function returns $current->data[$filepath] = $file;

      This was discovered testing MDL-67798 when the user added one more file with the same name.

            dobedobedoh Andrew Lyons
            cescobedo Carlos Escobedo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.