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

Process situation when source file from dropbox has been deleted

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_23_STABLE

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                moodle.com moodle.com
                Reporter:
                marina Marina Glancy
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: