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

Nested pix template does not load in js when $CFG->cachejs is on

XMLWordPrintable

    • MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • MDL-51116-master
    • Hide

      Use the test commit on the end of this branch with/without the patch included.

      The instructions to reproduce the bug are:
      make sure $CFG->cachejs is on
      open /tag/test.php
      purge caches
      click on flag, it will change red/white etc
      reload the page
      click on the flag, make sure it does not disappear!

      Show
      Use the test commit on the end of this branch with/without the patch included. The instructions to reproduce the bug are: make sure $CFG->cachejs is on open /tag/test.php purge caches click on flag, it will change red/white etc reload the page click on the flag, make sure it does not disappear!

      I have a template that contains pix element in it. It renders fine by itself but disappears in ajax. I'm not sure what exactly is happening
      This is how I can reproduce it:
      pick this: https://github.com/moodle/moodle/compare/master...marinaglancy:wip-MDL-51116-master

      • make sure $CFG->cachejs is enabled
      • open /tag/test.php
      • purge caches
      • click on flag, it will change, keep clicking, it will change back and forth
      • refresh page
      • click on flag, it will disappear, the text part of template will be shown

            damyon Damyon Wiese
            marina Marina Glancy
            Marina Glancy Marina Glancy
            David Monllaó David Monllaó
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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