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

HTTP 404 errors due to /lib/ufo.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.6.6, 2.7.3
    • Component/s: Filters
    • Labels:
    • Testing Instructions:
      Hide

      (difficulty: easy, requires teacher access to a course and administrator access to enable the multimedia filter)

      1. Log in as a administrator and enable the multimedia filter;
      2. Add an HTML file as a "File" resource and set "Use fiters ..." to "HTML";
      3. Open the Developer Tools of you browser (<F12> for Windows) and select&enable the Network tab
      4. Access the HTML resource: no HTTP 404 should be recorded - before applying the patch, one hit to lib/ufo.js - and no warnings should appear in the logs.
      Show
      (difficulty: easy, requires teacher access to a course and administrator access to enable the multimedia filter) Log in as a administrator and enable the multimedia filter; Add an HTML file as a "File" resource and set "Use fiters ..." to "HTML"; Open the Developer Tools of you browser (<F12> for Windows) and select&enable the Network tab Access the HTML resource: no HTTP 404 should be recorded - before applying the patch, one hit to lib/ufo.js - and no warnings should appear in the logs.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m28_MDL-36669_UFO_references_in_filelib

      Description

      That file represents the UFO library which has been removed in MDL-26697 (git hash fcd2cbaf1f99750ce1a44780ae1dad24f21078b7).

      The library is included, when the media plugin filter is enabled, by filelib.php::file_modify_html_header().

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Nov/14