Folder renaming bug

You found an error in the program ? Report it here
Post Reply
CodeKiller
Posts: 1
Joined: 2023-01-06 12:32:03

Folder renaming bug

Post by CodeKiller »

Hello,

I don't why but this kiund of renaming is totally buged :
Search foor a space
Replace it with _
Exemple of folder :
Portail_PLM_1.01.03_PRD

Will be renamed to : Portail_PLM_1.01.03_PRD.03_PRD

Image

I just replace 1 char with anonther. Why do I get this result ?

I understand it is a folder but I don't see why it should give any difficulties...

Thanks.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: Folder renaming bug

Post by antp »

Indeed it is weird... It is possible that I already had it written down somewhere, I should fix that.
I suppose it is due to the multiple "." in the folder name.
Not that if you enable the option to include extension in the search, the bug does not occur.
Depending on the conventions, the last "." delimits the extension in folders, or folders do not have extensions, it seems that here I mixed the two :D I should clean that some day.

edit: indeed, it was reported before: https://forum.antp.be/phpbb3/viewtopic. ... 680#p44680
It occurs only on folders, not on files
I really should fix that :/
Post Reply