?
avatar PhilETaylor
PhilETaylor
22 Jun 2020

Steps to reproduce the issue

Joomla 4 admin
System -> Site Templates -> Cassiopeia Details and Files -> Create Overrides -> mod_articles_archive
Click html -> mod_articles_archive -> default.php

Expected result

No console errors

Actual result

Failed to load resource: the server responded with a status of 404 (Not Found) for

https://example.com/media/vendor/codemirror/mode/text/x-php/text/x-php.min.js

System information (as much as possible)

Safari on Mac
nginx in docker as a webserver

avatar PhilETaylor PhilETaylor - open - 22 Jun 2020
avatar joomla-cms-bot joomla-cms-bot - change - 22 Jun 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Jun 2020
avatar PhilETaylor PhilETaylor - change - 22 Jun 2020
Title
[4.0] 404 file not found
[4.0] 404 file not found - media/vendor/codemirror/mode/text/x-php/text/x-php.min.js
avatar PhilETaylor PhilETaylor - edited - 22 Jun 2020
avatar ReLater
ReLater - comment - 23 Jun 2020

Confirmed.

avatar infograf768
infograf768 - comment - 23 Jun 2020

Not only Safari.

avatar brianteeman
brianteeman - comment - 23 Jun 2020

Its not a missing file. its an issue with mime type detection with codemirror

It should be detecting "text/x-php" as php and therefore loading php.js

avatar dgrammatiko
dgrammatiko - comment - 23 Jun 2020

If only someone already have fixed this and many other bugs related to code mirror: #23426

avatar PhilETaylor
PhilETaylor - comment - 24 Jun 2020

I see #23426 was not merged, and therefore the reported issue remains.

avatar PhilETaylor PhilETaylor - change - 24 Jun 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 24 Jun 2020
avatar jwaisner jwaisner - change - 25 Jun 2020
Status New Confirmed
Build staging 4.0-b2-dev
avatar dgrammatiko
dgrammatiko - comment - 25 Feb 2021

Fixed with #32315

avatar PhilETaylor PhilETaylor - change - 25 Feb 2021
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2021-02-25 19:37:45
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 25 Feb 2021
avatar PhilETaylor
PhilETaylor - comment - 25 Feb 2021

Thanks

Add a Comment

Login with GitHub to post a comment