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

Mathjax default SSL CDN address is down causing atto to fail to load

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. On a non-ssl site - change the admin setting "filter_mathjaxloader | httpurl" to a non-existent url.
      2. Go to a page with Atto on it - make sure Atto loads
      3. Open the equation editor and see that the latex is displayed raw (not turned into equations).
      4. Change the site to use SSL (https).
      5. Check that your site has "https://cdn.mathjax.org/mathjax/2.3-latest/MathJax.js" as the "filter_mathjaxloader | httpsurl" setting. (if it is new, it should be the default - if it is upgrade, the upgrade should have changed this setting).
      6. Open a page with Atto on it - make sure Atto loads
      7. Open the equation editor and see that the latex is turned into equations.
      8. Open the browser dev tools and check the mathjax files are loaded over https.
      Show
      On a non-ssl site - change the admin setting "filter_mathjaxloader | httpurl" to a non-existent url. Go to a page with Atto on it - make sure Atto loads Open the equation editor and see that the latex is displayed raw (not turned into equations). Change the site to use SSL (https). Check that your site has "https://cdn.mathjax.org/mathjax/2.3-latest/MathJax.js" as the "filter_mathjaxloader | httpsurl" setting. (if it is new, it should be the default - if it is upgrade, the upgrade should have changed this setting). Open a page with Atto on it - make sure Atto loads Open the equation editor and see that the latex is turned into equations. Open the browser dev tools and check the mathjax files are loaded over https.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-46748-master
    • Story Points:
      5
    • Sprint:
      BACKEND Sprint 15

      Description

      I just noticed on Moodle.org that atto wouldn't load on an forum post page.

      It was failing to load https://c328740.ssl.cf1.rackcdn.com/mathjax/2.3-latest/MathJax.js

      Looks like that CDN url has gone. On the plus side it looks like they've got https on their normal cdn address now so I configured moodle.org to use https://cdn.mathjax.org/mathjax/2.3-latest/MathJax.js instead.

      But this caused atto to completely fail to load (and the repository) - so the failure is quite dramatic

      Steps to reproduce

      1. Disable tex filter, enable mathjax filter
      2. Set mathjax url to https://c328740.ssl.cf1.rackcdn.com/mathjax/2.3-latest/MathJax.js (or if that url starts working again, another broken url)
      3. Try and add a forum post

      Expected results

      • The atto editor loads and repository uploader loads
      • Mathjax is not available

      Actual results

      • The editor doesn't load
      • The repo picker doesn't load

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Sep/14