No Code Attached Yet bug
avatar heleneross
heleneross
16 Sep 2020

Steps to reproduce the issue

Create a folder in the root of your site and add some images.
In the filesystem plugin add this in addition to the images directory.
Open an article for editing and select an intro image from this new folder. Save the article.
Click on the select button to change the intro image.
The Change Image modal is confused - it shows a non-existent folder under images called the same as the new folder you created and a an error message:
Error
File or Folder not found.

Expected result

The modal should show the folders as they exist, and the modal should open by showing the current image.

Actual result

Error message and incorrect path and folder.

System information (as much as possible)

Joomla! 4.0.0-beta3-dev
Apache/2.4.34 (Unix) LibreSSL/2.5.5 PHP/7.3.8

Additional comments

the images should make this issue clear
screen shot 2020-09-16 at 14 09 36screen shot 2020-09-16 at 14 09 36

avatar heleneross heleneross - open - 16 Sep 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Sep 2020
avatar heleneross heleneross - change - 16 Sep 2020
The description was changed
avatar heleneross heleneross - edited - 16 Sep 2020
avatar heleneross
heleneross - comment - 16 Sep 2020
avatar richard67
richard67 - comment - 18 Sep 2020

The filesystem plugin is one thing, the media field and media manager are other things. As far as I know, the media manager and media (or images?) field (which is used to get the images modal) are restricted to the "images" folder and folders below it.

Adding folders to the filesystem plugin may be good for other purpose, but it might be intended that these folders can't be used for images.

Someone who has more knowledge than me about how it is intended to work should confirm or correct me.

But it seems that if it is intended, then the issue is that we need better handling of that. The folder should not be available in this case for media/images, and there should not be shown a not existing sub-folder with that folder's name.

avatar infograf768
infograf768 - comment - 19 Sep 2020

See also
#29721

avatar Hackwar Hackwar - change - 20 Feb 2023
Labels Added: No Code Attached Yet bug
Removed: ?
avatar Hackwar Hackwar - labeled - 20 Feb 2023

Add a Comment

Login with GitHub to post a comment