Moodle
  1. Moodle
  2. MDL-32269

Wikimedia repository stopped working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Repositories
    • Labels:
    • Rank:
      39058

      Description

      Fatal error: Call to undefined method wikimedia::search_images() in /var/www/repositories/master/moodle/repository/wikimedia/lib.php on line 58

      Regression caused by MDL-32095 changes:
      https://github.com/moodle/moodle/commit/68a7c9a696bd5390b80b896e25dc17fcfe9dd7e8#diff-17

      class wikimedia defined in file repository/wikimedia/wikimedia.php does NOT extend repository class, you should not have changed the name of the function there.

        Issue Links

          Activity

          Hide
          Aparup Banerjee added a comment -

          this looks good marina!

          Show
          Aparup Banerjee added a comment - this looks good marina!
          Hide
          Aparup Banerjee added a comment -

          This is integrated and ready for testing.

          please turn on E_STRICT for notices when testing.

          Show
          Aparup Banerjee added a comment - This is integrated and ready for testing. please turn on E_STRICT for notices when testing.
          Hide
          Adrian Greeve added a comment -

          I checked this pre and post patch. I set up my configuration for strict mode. The wikimedia repository is now working again.
          Thanks.

          Show
          Adrian Greeve added a comment - I checked this pre and post patch. I set up my configuration for strict mode. The wikimedia repository is now working again. Thanks.
          Hide
          Aparup Banerjee added a comment -

          The code here has been spread to upstream moodle repositories and mirrors for anyone to use .

          Closing, have a good weekend!

          Show
          Aparup Banerjee added a comment - The code here has been spread to upstream moodle repositories and mirrors for anyone to use . Closing, have a good weekend!

            People

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

              Dates

              • Created:
                Updated:
                Resolved: