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

404 on direct install - need a session in the curl request (edge case of privilege where file isn't cached yet)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.5
    • None
    • Administration
    • MOODLE_25_STABLE

    Description

      Install add-on tool:
      I tried to use plugins directory install button during approving a plugin. (wincache wasn't approved yet). This led to a 404 as moodle.org/plugins web service didn't serve download.moodle.org the plugin yet.

      Error code: err_curl_http_code
      $a contents: Array
      (
      [url] => https://download.moodle.org/api/1.2/pluginfo.php?format=json&plugin=cachestore_wincache%402013041800
      [http_code] => 404
      )

      Can this error handling process be made a little friendlier so that it does a second attempt on moodle.org/plugins (only for 404's).

      This second attempt/check however would need some (curl) session for accessing the file via a capability.

      ps: This would help a lot with plugin approval process

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nebgor Aparup Banerjee
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: