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

Process situation when source file from dropbox has been deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.3
    • Repositories
    • MOODLE_23_STABLE

      When trying to retrieve file from dropbox that was deleted, we receive the text file that has content

      {"error": "File has been deleted"}

      And it is saved as file contents, regardless of file mimetype.

      We need to process it in dropbox::get_file and return null, so repository_dropbox::get_file_by_reference can know that file was actually removed and display an error.

            moodle.com Moodle HQ
            marina Marina Glancy
            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.