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"

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alzz created an issue. See original summary.

rubentin’s picture

This patch solves issue with JQuery's new path

rubentin’s picture

This patch solves missing arrow-up.png and arrow-desc.png when sorting columns

rubentin’s picture

Status: Active » Needs review
GeduR’s picture

Attaching 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!

alzz’s picture

Applied #5 patch on drupal 8.4.x and works perfectly.

tunic’s picture

Status: Needs review » Reviewed & tested by the community

RTBC.

pifagor’s picture

Status: Reviewed & tested by the community » Needs work

the patch did not pass automatic tests because we need fix tests for dev version module

pifagor’s picture

Status: Needs work » Reviewed & tested by the community
Chris Burge’s picture

Applied #5 patch and it resolves the issue. +1 for committing

pifagor’s picture

  • pifagor committed bd825b5 on 8.x-1.x authored by GeduR
    Issue #2923022 by rubentin, GeduR, alzz, pifagor, Chris Burge, tunic:...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.