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

AMD modules that rely on shimmed libraries fail in Moodle 3.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.8
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      When javascript caching is off in Moodle 3.8 AMD modules that rely on shimmed libraries fail to load.

      When javascript caching is on, the AMD modules will load ok.

      This is difficult to test since not many core or 3rd party plugins use shimmed libraries. So I created a block and explainer video to help you easily reproduce the issue.
      The block (block_shimshim) is here: https://github.com/justinhunt/moodle-block_shimshim

      The explainer/demo video is here: https://www.screencast.com/t/jOkDbZPfYOL

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jhunt Justin Hunt
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: