View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003803 | Plugins | NetBox | public | 2020-06-22 09:28 | 2020-12-08 08:11 |
Reporter | maxerist | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x64 | OS | Windows | OS Version | 10 |
Product Version | 3.0 | ||||
Summary | 0003803: underscore in filenames may make synchronization list non empty even when files are in sync | ||||
Description | When 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 Reproduce | 1. 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 Information | Original WinSCP in Far 1.75 doesn't show this behavior | ||||
Tags | No tags attached. | ||||
|
|
|
Причина проблемы была в некорректной реализации метода AddObject у класса TStringList (оригинальный использовал стандартный из C++ Builder, поэтому у текущего WinSCP проблемы такой нет). При добавлении отсутствующей в списке строки в отсортированном списке он добавлял в конец Подробнее в |
|
Указанный PR уже смержен, полагаю тикет решён? |
|
После фикса этого еще потребовался этот, но по совокупности nightly бинарник оттестирован и работает, в stable еще нет. Осложняет то, что нет автоматического инкремента версии и добавления данных в ChangeLog у NetBox-а, видимо требует человеческого участия, но по косвенным признакам версия Far 3.0 5710-20201202 содержит оба изменения |
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 |