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

Deleting a site level file repository causes an error to be displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      Enable file repositories by going to Site administration > plugins > repositories > manage repositories. You can create a directory then point the repository at it at, for example, moodledata/repository/examplerepository

      Setup a file system repository instance by clicking the "manage" link next to "file system" then clicking "create a repository instance". When you come back to that page click "delete" next to your new repository instance. It says deletion was successful then the following is displayed.

      Section error!
       
      More information about this error
      Stack trace:
       
          line 435 of /lib/setuplib.php: moodle_exception thrown
          line 5818 of /lib/adminlib.php: call to print_error()
          line 36 of /admin/repository.php: call to admin_externalpage_setup()

      The delete actually succeeded.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: