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

Clarify search_references[_count]() methods usage and add tests for them

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.4
    • Fix Version/s: 2.3.1
    • Component/s: Files API
    • Labels:
      None
    • Testing Instructions:
      Hide

      Testing difficulty: trivial

      Make sure that the filemanager correctly reports the number and the list of aliases that refer to a given file.

      Show
      Testing difficulty: trivial Make sure that the filemanager correctly reports the number and the list of aliases that refer to a given file.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:

      Description

      Methods like file_storage::search_references() or search_references_count() need to accept $repositoryid too. The reference field is supposed to be unique per repository instance, not world-wide.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jul/12