[FIXED] Renameitem() can delete tags!

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

[FIXED] Renameitem() can delete tags!

Post by Marco »

Tested on a fresh 23.10.0016, reproducibile from 23.00.03something onwards.

Steps to repro:
1. Enable Label, Tags and Comment columns
2. Select any item you want in the List
3. Set some label/tag/comment to such item
4. Now in the Address Bar execute renameitem("John") - the item will be renamed accordingly and keep its tags
5. Execute once again renameitem("John") - the item will lose the tags! (you won't notice it immediately, you have to refresh the List)
Last edited by Marco on 30 May 2022 19:09, edited 1 time in total.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65398
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Renameitem() can delete tags!

Post by admin »

Yep, confirmed and fixed. :tup:

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Renameitem() can delete tags!

Post by Marco »

Great!
I had an hard time at debugging my tagging script!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Post Reply