No Code Attached Yet bug
avatar paternax
paternax
7 Mar 2025

Steps to reproduce the issue

  1. Go to Content - Media
  2. Mark one image and use "Rename"
  3. Add to the file name some "$" - characters and press "Save"

Expected result

One error message like error renaming file

Actual result

There are two error messages:
The first one is like expected: Error renaming item
The second one is irritating for the user: move file is not possible as destination already exists

System information (as much as possible)

Joomla 5.2.4
PHP 8.3

Additional comments

avatar paternax paternax - open - 7 Mar 2025
avatar paternax paternax - change - 7 Mar 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 7 Mar 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Mar 2025
avatar Fedik Fedik - change - 7 Mar 2025
Labels Added: bug
avatar Fedik Fedik - labeled - 7 Mar 2025
avatar chiragjethva03
chiragjethva03 - comment - 8 Mar 2025

Hello, @paternax

I appreciate your detailed report on this issue. I tried reproducing the bug on Joomla 5.2.5-dev, but I was unable to encounter the same problem. Renaming an image file with a "$" symbol works correctly without any duplicate error messages.

It’s possible that this issue was specific to Joomla 5.2.4. Are you currently using 5.2.4? If so, I’d recommend updating to 5.2.5-dev and testing again. If the issue still exists in 5.2.5, please let me know—I may have missed something while verifying the bug, and I’d be happy to recheck.

Image

avatar Kashaf1175
Kashaf1175 - comment - 9 Mar 2025

can i work n this issue

avatar brianteeman
brianteeman - comment - 9 Mar 2025

We don't assign issues. Anyone can work on it

avatar Amaan-ali03
Amaan-ali03 - comment - 12 Mar 2025

Is the bug still there in the latest version?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45087.
avatar alikon
alikon - comment - 12 Mar 2025

@Amaan-ali03 check yourself and if still present then please work on a fix

avatar Amaan-ali03
Amaan-ali03 - comment - 12 Mar 2025

@Amaan-ali03 check yourself and if still present then please work on a fix

Sure sir.

avatar Amaan-ali03
Amaan-ali03 - comment - 12 Mar 2025

Yes there is a bug when we add $ to a file name
as I'm fixing it should I just block the invalid filename or show something like invalid filename ...
suggestions would be appreciated.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45087.
avatar paternax
paternax - comment - 13 Mar 2025

For usabliliy it is important that the user understands why something does not work. There should be a message.

Add a Comment

Login with GitHub to post a comment