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

Text caching leads to missing inclusion of JS/YUI required stuff

XMLWordPrintable

    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      Preparation:

      1/ Enable glossary filter @ admin->plugins->filters->manage. (set to content and headings)
      2/ Ensure text caching is enabled (at least 1 minute) @ admin->plugins->filters->common settings.
      3/ Create one glossary with a few entries.
      4/ Create one forum post containing some of the concepts created in 3/. Save it.
      5/ TEST: The concepts are shown highlighted and are links.
      6/ TEST: Mouse over shows: "activity name: concept".
      7/ TEST: Clicking the link shows one JS popup with the definition of the concept and the browser continues in the same page.

      8/ Refresh the page (within the window of time configured in 2/, so cached versions will be shown).
      9/ TEST: Clicking the concept link shows one JS popup with the definition of the concept and the browser continues in the same page.

      10/ Disable JS.
      11/ Refresh the page.
      12/ TEST: Clicking the concept sends the browser to mod/glossary/showentry.php URL, instead of the JS version. The definition of the concept is shown there.

      Show
      Preparation: 1/ Enable glossary filter @ admin->plugins->filters->manage. (set to content and headings ) 2/ Ensure text caching is enabled (at least 1 minute) @ admin->plugins->filters->common settings. 3/ Create one glossary with a few entries. 4/ Create one forum post containing some of the concepts created in 3/. Save it. 5/ TEST: The concepts are shown highlighted and are links. 6/ TEST: Mouse over shows: "activity name: concept". 7/ TEST: Clicking the link shows one JS popup with the definition of the concept and the browser continues in the same page. 8/ Refresh the page (within the window of time configured in 2/, so cached versions will be shown). 9/ TEST: Clicking the concept link shows one JS popup with the definition of the concept and the browser continues in the same page. 10/ Disable JS. 11/ Refresh the page. 12/ TEST: Clicking the concept sends the browser to mod/glossary/showentry.php URL, instead of the JS version. The definition of the concept is shown there.

      Using Firefox or Chrome when a user clicks on a glossary link, to open the page in the same window, a pin-wheel (loading icon) appears in the middle of the browser and the page never loads. However, when you right click and choose "open in tab" or "open in new window" the glossary page opens just fine.

      For once, I was not able to replicate the issue when using Internet Explorer.

      This maybe be a browser delivery error with the current versions of Firefox and Chrome?

      1. Enable the Glossary Autolinking filter at Site admin > Plugins > Filters > Manage filters
      2. Create a Glossary
      3. Add a term
      4. Use Concept or Keyword in another resource (in our case a page)
      5. Click on the link to the Glossary while using Firefox or Chrome
      6. Perform the same action from the previous step while using Internet Explorer
      7. In Chrome and Firefox the Pin-Wheel loading icon appears in the center of the page and never loads. In IE the page loads.

            stronk7 Eloy Lafuente (stronk7)
            joseph.jacelone Joseph Jacelone
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.