Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The requested url for jquery inside the sitemap.xml page is not found in Drupal 8.4.2
It is calling the path "/misc/jquery.js" but in Drupal 8.4.2 it is located in "/core/assets/vendor/jquery/jquery.js"
Comment | File | Size | Author |
---|---|---|---|
#5 | xmlsitemap-jquery-not-loaded-2923022-4.patch | 796 bytes | GeduR |
#3 | xmlsitemap-jquery-not-loaded-2923022-3.patch | 730 bytes | rubentin |
Comments
Comment #2
rubentin CreditAttribution: rubentin commentedThis patch solves issue with JQuery's new path
Comment #3
rubentin CreditAttribution: rubentin commentedThis patch solves missing arrow-up.png and arrow-desc.png when sorting columns
Comment #4
rubentin CreditAttribution: rubentin commentedComment #5
GeduR CreditAttribution: GeduR at Metadrop commentedAttaching new patch as the #2 did the contrary (removing the new path and adding the old one).
Without this patch if you go to http://example.com/sitemap.xml you will get an "Uncaught ReferenceError: jQuery is not defined"
The #3 patch maybe should be discussed in other issue but it works as expected and the original problem is the same (wrong path routes).
Please review!
Comment #6
alzz CreditAttribution: alzz at Metadrop commentedApplied #5 patch on drupal 8.4.x and works perfectly.
Comment #7
tunicRTBC.
Comment #8
pifagorthe patch did not pass automatic tests because we need fix tests for dev version module
Comment #9
pifagorComment #10
Chris Burge CreditAttribution: Chris Burge commentedApplied #5 patch and it resolves the issue. +1 for committing
Comment #11
pifagorComment #13
pifagor