I noticed that the jquery-noconflict asset in Joomla 6.1 appears to point to a path that does not exist in my installation.
In media/vendor/joomla.asset.json, the asset is registered as:
"uri": "vendor/jquery/jquery-noconflict.min.js"
However, the file on disk exists at:
media/vendor/jquery/js/jquery-noconflict.min.js
The registered path does not exist:
ls -la media/vendor/jquery/jquery-noconflict.min.js
# No such file or directory
while this one does:
ls -la media/vendor/jquery/js/jquery-noconflict.min.js
This may cause 404s when extensions call:
$wa->useScript('jquery-noconflict');
Should the asset URI in media/vendor/joomla.asset.json be changed from:
"uri": "vendor/jquery/jquery-noconflict.min.js"
to:
"uri": "vendor/jquery/js/jquery-noconflict.min.js"
or is there another intended way this asset should be loaded in Joomla 6.1?
6.1
The jquery-noconflict asset should point to an existing file and load without a 404.
The asset appears to point to:
media/vendor/jquery/jquery-noconflict.min.js
but that file does not exist in my installation. The file exists instead at:
media/vendor/jquery/js/jquery-noconflict.min.js
Joomla version: 6.1
I have not changed the asset file yet. I wanted to check whether this is the intended asset URI in Joomla 6.1, or whether the asset definition should be updated.
| Labels |
Added:
No Code Attached Yet
bug
|
||
I have correct loaded noconflict js file in rendered code but was hunting a 404 error regarding its legacy reference when I stumbled upon this asset with wrong url (also in fresh install zip).
What you mean?
Is the asset correctly loaded by joomla or not?
media/vendor/jquery/js/jquery-noconflict.min.js is loaded correctly but the .json file is not correctly referencing the asset.
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-06-26 06:07:11 |
| Closed_By | ⇒ | HLeithner |
ok then everything is fine, that's expected behavior and the way how the asset manager works.
I'm closing this.
Die you test if the file is loaded? I'm 100℅ sure if it also works for the vendor folder but the asset manager looks in the js subfolder for script assets.