No Code Attached Yet J4 Media Manager bug
avatar Mich-es
Mich-es
16 Nov 2022

Steps to reproduce the issue

Name 5 pictures with 16_xx.jpg
Name 5 pictures with 17_xx.jpg
Upload the 10 pictures into a folder.

In the Media Manager, change to the folder
Search for 16_
Set the check mark
Delete
grafik

Expected result

Only the images that I have marked in the search should be deleted - i.e. all with 16_.

Actual result

All images have been deleted

System information (as much as possible)

PHP 8.0
J4.2.4

Additional comments

avatar Mich-es Mich-es - open - 16 Nov 2022
avatar joomla-cms-bot joomla-cms-bot - change - 16 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Nov 2022
avatar brianteeman
brianteeman - comment - 16 Nov 2022

Confirmed

avatar drmenzelit drmenzelit - change - 17 Nov 2022
Labels Added: J4 Media Manager bug
avatar drmenzelit drmenzelit - labeled - 17 Nov 2022
avatar drmenzelit drmenzelit - labeled - 17 Nov 2022
avatar ReLater
ReLater - comment - 18 Nov 2022

All images have been deleted

And all subfolders if there are some in the directory. While testing I have deleted all images and folders in images/ by mistake ;-)

From my point of view this should be a release blocker.

avatar richard67 richard67 - change - 19 Nov 2022
Labels Added: Release Blocker
avatar richard67 richard67 - labeled - 19 Nov 2022
avatar joomdonation
joomdonation - comment - 19 Nov 2022

@laoneo @dgrammatiko Would be great if you could look at this release blocker issue.

avatar chmst
chmst - comment - 19 Nov 2022

In all lists this checkbox selects all items. For me it is normal behaviour.

avatar brianteeman
brianteeman - comment - 19 Nov 2022

No - the checkbox selects all selected items. Just try it in article manager. Filter by a category. Select all and then delete. Only the items in that category will be deleted.

avatar fancyFranci fancyFranci - change - 12 Dec 2022
Title
Bug Media-Manager
Media-Manager deletes all items instead of selected items only
avatar fancyFranci fancyFranci - edited - 12 Dec 2022
avatar fancyFranci
fancyFranci - comment - 12 Dec 2022

Looks like deleteSelectedItems() should filter the same way like browser items(). Maybe someone is faster in Vue than I am currently.

avatar dgrammatiko
dgrammatiko - comment - 12 Dec 2022

Couple quick observations here:

  • There is a missing prop per media item

Screenshot 2022-12-12 at 23 39 42

  • The store (search and selectedItems) doesn't ever get updated when anything is selected/typed

Screenshot 2022-12-12 at 23 40 37

avatar dgrammatiko
dgrammatiko - comment - 12 Dec 2022

@fancyFranci there you go: #39405

avatar richard67 richard67 - change - 13 Dec 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-12-13 07:35:17
Closed_By richard67
avatar richard67 richard67 - close - 13 Dec 2022
avatar richard67
richard67 - comment - 13 Dec 2022

Closing as having a pull request. Please test #39405 . Thanks in advance.

avatar richard67 richard67 - change - 13 Dec 2022
Labels Removed: Release Blocker
avatar richard67 richard67 - unlabeled - 13 Dec 2022

Add a Comment

Login with GitHub to post a comment