Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32999 META: Files UI Stage 2 polishing in master
  3. MDL-33550

Correctly process situation when file reference source is missing

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Files API
    • Labels:
    • Testing Instructions:
      Hide

      1. Backup resource with references to Private files
      2. Remove the source in Private files
      3. Restore resource
      4. Make sure that error is displayed to user who views resource and teacher is able to edit it

      Test 2
      5. create resource with references to box.net, dropbox, equella repositories
      6. remove originals
      7. make sure you can view/edit the resource

      Show
      1. Backup resource with references to Private files 2. Remove the source in Private files 3. Restore resource 4. Make sure that error is displayed to user who views resource and teacher is able to edit it Test 2 5. create resource with references to box.net, dropbox, equella repositories 6. remove originals 7. make sure you can view/edit the resource
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-33550-master

      Description

      For internal repositories it happens at the moment when source is deleted between backup and restore (although it should not, there is an issue MDL-33430 for that).

      For external repositories it may happen any time.

      At the moment the whole file manager is not displayed

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12