No Code Attached Yet bug
avatar dautrich
dautrich
28 Aug 2026

What happened?

  1. Install a fresh Joomla 5.4
  2. Navigate to Media Manager
  3. Click on Upload
  4. Select multiple images and click Open
  5. See what happens!

Here is the video:

Upload_Issue.mp4

In the example, there were seven images selected. Of those two were uploaded. For the five others, error messages show up:

Image

Subsequent uploads work perfectly. In the video, I deleted the two files from the first upload and uploaded the identical set of seven files again. This time successfully.

Version

5.4

Expected result

Multiple selected files are successfully uploaded.

Actual result

Initial upload only partially succeeds, error messages for the rest.

System Information

Laragon 8 on Windows 11
Joomla 5.4.8
PHP 8.4
MySQL 8.0

Additional Comments

No response

avatar dautrich dautrich - open - 28 Aug 2026
avatar dautrich dautrich - change - 28 Aug 2026
Labels Added: bug
avatar dautrich dautrich - labeled - 28 Aug 2026
avatar joomla-cms-bot joomla-cms-bot - change - 28 Aug 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Aug 2026
avatar dautrich dautrich - change - 28 Aug 2026
The description was changed
avatar dautrich dautrich - edited - 28 Aug 2026
avatar dautrich dautrich - change - 28 Aug 2026
The description was changed
avatar dautrich dautrich - edited - 28 Aug 2026
avatar brianteeman
brianteeman - comment - 28 Aug 2026

i cant replicate that and the error message coming from finder doesnt really make sense to me on an image upload. Are you 100% certain its a brand new install with no configuration changes or extensions installed

avatar dautrich
dautrich - comment - 28 Aug 2026

@brianteeman It's a fresh installation of 5.4.8 without any extensions or configuration changes.
I'll cross-check with a different browser to rule out issues with my Firefox. I'll report on the outcome here.

avatar dautrich
dautrich - comment - 28 Aug 2026

@brianteeman Identical error messages with Microsoft Edge. The issue only happens with a completely fresh install. Maybe some bad initialization?

avatar brianteeman
brianteeman - comment - 28 Aug 2026

I can confirm the problem on a completely new install

I am guessing but i bet it is because on a clean install the table #__finder_types is empty

But as soon as you do something like create an article then it gets populated with 5 records

Its just that the first thing you did was to upload an image and that record creation borked

I have no idea why that table doesnt ship with data or why/where it gets populated

You can verify this i hope by emptying that table and trying to upload the images
I suspect it will then give you the error
Then try to upload images and it fails
then empty the table again and repeat

avatar dautrich
dautrich - comment - 28 Aug 2026

I did a fresh install (again). The table #__finder_types was empty.
I created an article. The table #__finder_types was populated with five records.
Went to media manager, did my multiple upload, and no errors.
Emptied table #__finder_types.
Tried to upload again: No errors.

avatar brianteeman
brianteeman - comment - 28 Aug 2026

oddly there are three different duplicated places that create the finder_types when empty

// Add the content type if it doesn't exist and is set.
if (empty($this->type_id) && !empty($this->type_title)) {
$this->type_id = Helper::addContentType($this->type_title, $this->mime);
}

// Add the content type if it doesn't exist and is set.
if (empty($this->type_id) && !empty($this->type_title)) {
$this->type_id = Helper::addContentType($this->type_title, $this->mime);
}

$query->clear()
->insert($db->quoteName('#__finder_types'))
->columns([$db->quoteName('title'), $db->quoteName('mime')])
->values($db->quote($title) . ', ' . $db->quote($mime ?? ''));
$db->setQuery($query);
$db->execute();

Add a Comment

Login with GitHub to post a comment