No Code Attached Yet
avatar ceford
ceford
24 Nov 2022

Steps to reproduce the issue

From the file system, create a folder with the name 0. This might be an item inherited from J3.
Select Media from the Administrator menu.

Expected result

Normal media display.

Actual result

Error message and no media display.
Property 'name' of argument 'item' of event onFetchMediaItems has a wrong item. Valid: non empty string

System information (as much as possible)

Linux / Apache 2.4 / PHP 8.1

Additional comments

Line 66 of administrator/components/com_media/src/Event/AbstractMediaItemValidationEvent.php:
if (empty($item->path) || !is_string($item->path)) {

avatar ceford ceford - open - 24 Nov 2022
avatar ceford ceford - change - 24 Nov 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 24 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Nov 2022
avatar brianteeman
brianteeman - comment - 24 Nov 2022

This is a duplicate report see #37242

avatar richard67 richard67 - change - 24 Nov 2022
Status New Duplicate Report
Closed_Date 0000-00-00 00:00:00 2022-11-24 17:36:13
Closed_By richard67
avatar richard67 richard67 - close - 24 Nov 2022
avatar richard67
richard67 - comment - 24 Nov 2022

Closing as duplicate report.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39307.

Add a Comment

Login with GitHub to post a comment