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

Invalid repository id error message does not give enough information to be actionable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.7.10
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      If a repository is deleted with file reference still in place then the error message that is thrown only tells you that a repository cannot be found, not which one. Right now there is no easy way to know which repository/file/activity is causing the issue.
      If you know the repository id with the orphaned files you can easily delete the records from the file_references table.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andrew_dc_hancox Andrew Hancox
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: