View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000393 | Far Manager | Panel.Tree | public | 2007-12-01 08:31 | 2007-12-01 14:48 |
Reporter | Sten | Assigned To | alexy | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.80 alpha 1 | ||||
Summary | 0000393: FileList::FileListToPluginItem() не инициализирует поле Description | ||||
Description | В функции FileList::FileListToPluginItem() есть такая строчка: //pi->Description=fi->DizText; //BUGBUG Место почему-то помечено как баг, но в результате поле pi->Description не инициализируется вообще никак. Из-за этого в плагине MultiArc происходит эксепшн при попытке просмотреть файл в некоторых архивах. Предлагаю пока хоть вот так сделать: pi->Description = NULL; //pi->Description=fi->DizText; //BUGBUG Патч приаттачен. --- Судя по всему, этот дефект есть тоже самое, что и Mantis#314: поле Description в PluginPanelItem находится мусор при вызове GetFilesW http://bugs.farmanager.com/view.php?id=314 | ||||
Tags | No tags attached. | ||||
Build | 368 | ||||
2007-12-01 08:31
|
flplugin.cpp.diff (457 bytes)
Index: flplugin.cpp =================================================================== --- flplugin.cpp (revision 1338) +++ flplugin.cpp (working copy) @@ -188,7 +188,7 @@ pi->CustomColumnData=fi->CustomColumnData; pi->CustomColumnNumber=fi->CustomColumnNumber; - //pi->Description=fi->DizText; //BUGBUG + pi->Description = NULL; //pi->Description=fi->DizText; //BUGBUG if (fi->UserData && (fi->UserFlags & PPIF_USERDATA)) { |
|
проверь в 368 |
|
Все работает. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-12-01 08:31 | Sten | New Issue | |
2007-12-01 08:31 | Sten | File Added: flplugin.cpp.diff | |
2007-12-01 09:45 | alexy | Relationship added | duplicate of 0000314 |
2007-12-01 10:55 | alexy | Note Added: 0000898 | |
2007-12-01 10:55 | alexy | Assigned To | => alexy |
2007-12-01 10:55 | alexy | Status | new => feedback |
2007-12-01 13:46 | Sten | Note Added: 0000902 | |
2007-12-01 14:48 | alexy | Build | => 368 |
2007-12-01 14:48 | alexy | Status | feedback => closed |
2007-12-01 14:48 | alexy | Resolution | open => fixed |
2007-12-01 14:48 | alexy | Fixed in Version | => 1.80 alpha 1 |