No Code Attached Yet
avatar PhilETaylor
PhilETaylor
25 Apr 2021

Steps to reproduce the issue

Joomla 4 -> Content -> Media

Click Delete
Click Delete
Click Delete
Click Delete
Click Delete
Click Delete

Expected result

One message, that is replaced each time.

Actual result

Multiple messages appended each time

Screenshot 2021-04-25 at 14 27 08

System information (as much as possible)

Additional comments

Paging @dgrammatiko

avatar PhilETaylor PhilETaylor - open - 25 Apr 2021
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Apr 2021
avatar dgrammatiko
dgrammatiko - comment - 25 Apr 2021

Multiple messages appended each time

Com_media needs multiple messages whenever an action is applied with a payload of 1+n files. Probably the code can be refactored for the single file. But in this case, it is just a case that the Joomla.renderMessages() is called with the wrong arguments (we can clear the old messages, default is not to iirc)

avatar dgrammatiko
dgrammatiko - comment - 9 Nov 2021

This should be closed as the behaviour has been fixed

avatar richard67
richard67 - comment - 9 Nov 2021

Closing as stated above. Feel free to re-open if this is wrong.

avatar richard67 richard67 - change - 9 Nov 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-11-09 18:22:16
Closed_By richard67
Labels Added: No Code Attached Yet
Removed: ?
avatar richard67 richard67 - close - 9 Nov 2021

Add a Comment

Login with GitHub to post a comment