New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media Manager is wrongly initialised by TinyMCE when accessed from a front-end submenu item #43344
Comments
Do you have an .htaccess file in use? |
No, as I use nginx. The config is the one detailed here: https://docs.joomla.org/Nginx |
I was thinking aloud for possible changes |
Bug Confirmed |
@Fedik please can you take a look at this. I believe it may be related to joomla-dialog.js |
Please test #43373 |
Does it also broken with "Codemiror" or "Editor none"? |
I do not think it is possible to open the media manager from these editors, is it? |
testing
Yes they appear as buttons below the editor |
tested with editor none - same problem |
Mine is:
And I try to edit an article displayed on the category blog#2, i.e. |
Thanks, I got it now |
@brianteeman PR is good, please test |
Pleae test another one #43376 |
Steps to reproduce the issue
Edit an article in a submenu, e.g.
menu/article
. Try to access "media" in "CMS Content" using TinyMCE.Expected result
The media manager starts.
Actual result
The media manager window loads
/menu/index.php?option=com_media&view=media&tmpl=component&e_name=jform_articletext&asset=675&mediatypes=0,1,2,3&author=36
and displays "File not found. "System information (as much as possible)
Joomla 5.1.0 on Nginx 1.22.1, PHP 8.2.18.
Additional comments
Patchable by adding a "/" before the URL at https://github.com/joomla/joomla-cms/blob/5.1-dev/plugins/editors-xtd/image/src/Extension/Image.php#L187. I can make an MR but I am not familiar with Joomla's internal. It was working fine on 4.4, not sure what caused the issue.
The text was updated successfully, but these errors were encountered: