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

Failed to pre-fetch the template random error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Dashboard (My home)
    • Labels:

      Description

      I have noticed some random failures, on the UI and also running behat, here's the stack trace:

      Moodle exception: Failed to pre-fetch the template: block_myoverview/event-list-item 
      File: Line: Stack trace: Error: Failed to pre-fetch the template: block_myoverview/event-list-item 
      at q.partialHelper (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:49:1025) 
      at n.renderPartial (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:11:5051) 
      at n.renderTokens (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:11:4094) 
      at n.renderSection (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:11:4497) 
      at n.renderTokens (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:11:4017) 
      at n.render (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:11:3871) 
      at Object.a.render (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:11:6135) 
      at q.<anonymous> (http://127.0.0.1/courseoverview/behatrun2/lib/requirejs.php/1489722391/core/first.js:49:3880) 
      at j (http://127.0.0.1/courseoverview/behatrun2/lib/javascript.php/1489722391/lib/jquery/jquery-3.1.0.min.js:1:29568) 
      at k (http://127.0.0.1/courseoverview/behatrun2/lib/javascript.php/1489722391/lib/jquery/jquery-3.1.0.min.js:1:29882)
      Failed to pre-fetch the template: block_myoverview/event-list-item (Exception)

      The error happened on the following feature:

      001 Scenario: Submit a text online and edit the submission # /home/simey/moodles/courseoverview/moodle/mod/assign/tests/behat/comment_inline.feature:8
           And I log in as "student1"                           # /home/simey/moodles/courseoverview/moodle/mod/assign/tests/behat/comment_inline.feature:31

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lameze Simey Lameze
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: