View Issue Details

IDProjectCategoryView StatusLast Update
0003803PluginsNetBoxpublic2020-12-08 08:11
Reportermaxerist Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx64OSWindowsOS Version10
Product Version3.0 
Summary0003803: underscore in filenames may make synchronization list non empty even when files are in sync
DescriptionWhen connecting with SFTP protocol to a unix (bsd) machine, the folder might contain files containing underscore (_). Also there might be nearby files that matches the prefix before underscore. For example

sc_logo15.png
sccontentmngr.png

if such files are exist at both sides after the synchronization, the NetBox will repeatedly suggest the undescored files to be synchronized again even when they're all match by all counts.

For undescore-containing files that have no correspondent files with the same before-underscore prefix, the issue probably does not exist so in the case above, if there's no sccontentmngr.png, but something like start.png follows by the sort order, then the synchrnization list will be empty
Steps To Reproduce1. Create two text files with any contents at Windows side
beforeunderscore_anytext.txt
beforeunderscorenounderscore.txt

2. Copy them to remote site (SFTP)

3. Make Mirror operation

4. See that beforeunderscore_anytext.txt suggested for synchronization
Additional InformationOriginal WinSCP in Far 1.75 doesn't show this behavior
TagsNo tags attached.

Activities

maxerist

2020-06-22 09:28

reporter  

Screen001.png (67,858 bytes)   
Screen001.png (67,858 bytes)   
Screen002.png (74,607 bytes)   
Screen002.png (74,607 bytes)   
Screen003.png (30,627 bytes)   
Screen003.png (30,627 bytes)   

maxerist

2020-11-25 08:26

reporter   bugnote:0016962

Причина проблемы была в некорректной реализации метода AddObject у класса TStringList (оригинальный использовал стандартный из C++ Builder, поэтому у текущего WinSCP проблемы такой нет). При добавлении отсутствующей в списке строки в отсортированном списке он добавлял в конец
Подробнее в

JohnDoe

2020-12-08 07:58

updater   bugnote:0016967

Указанный PR уже смержен, полагаю тикет решён?

maxerist

2020-12-08 08:11

reporter   bugnote:0016970

После фикса этого еще потребовался этот, но по совокупности nightly бинарник оттестирован и работает, в stable еще нет. Осложняет то, что нет автоматического инкремента версии и добавления данных в ChangeLog у NetBox-а, видимо требует человеческого участия, но по косвенным признакам версия Far 3.0 5710-20201202 содержит оба изменения

Issue History

Date Modified Username Field Change
2020-06-22 09:28 maxerist New Issue
2020-06-22 09:28 maxerist File Added: Screen001.png
2020-06-22 09:28 maxerist File Added: Screen002.png
2020-06-22 09:28 maxerist File Added: Screen003.png
2020-11-25 08:26 maxerist Note Added: 0016962
2020-12-08 07:58 JohnDoe Note Added: 0016967
2020-12-08 08:11 maxerist Note Added: 0016970