aMule Bug Tracker - aMule | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001654 | aMule | Servers | public | 2011-02-20 09:19 | 2011-03-09 10:27 |
Reporter | vluban | ||||
Assigned To | sturedman | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 2.2.6 | ||||
Target Version | 2.3.1 | Fixed in Version | 2.3.1 | ||
Fixed in Revision | 10222 | ||||
Operating System | Any | ||||
Summary | 0001654: amuleweb crashes if file that is removed from library or downloads is still being uploaded | ||||
Description | See summary | ||||
Steps To Reproduce | |||||
Additional Information | Patch that fixes the issue uploaded and listed here ===Patch=== --- src/webserver/src/php_amule_lib.cpp.orig 2011-02-19 00:08:31.000000000 -0800 +++ src/webserver/src/php_amule_lib.cpp 2011-02-19 00:02:30.000000000 -0800 @@ -906,8 +906,12 @@ SharedFile::GetContainerInstance()->ReQuery(); sharedfile = SharedFile::GetContainerInstance()->GetByID(obj->nHash); } + if ( sharedfile ) { wxString short_name(sharedfile->sFileName.Length() > 60 ? (sharedfile->sFileName.Left(60) + (wxT(" ..."))) : sharedfile->sFileName); result->str_val = strdup((const char *)unicode2UTF8(short_name)); + } + else + result->str_val = strdup((const char *)wxT("removed")); } else if ( strcmp(prop_name, "user_name") == 0 ) { result->type = PHP_VAL_STRING; result->str_val = strdup((const char *)unicode2UTF8(obj->sUserName)); | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | amuleweb.patch (770) 2011-02-20 09:19 https://bugs.amule.org/file_download.php?file_id=337&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-02-20 09:19 | vluban | New Issue | |||
2011-02-20 09:19 | vluban | File Added: amuleweb.patch | |||
2011-02-20 09:19 | vluban | Operating System | => Any | ||
2011-03-09 10:27 | sturedman | Fixed in Revision | => 10222 | ||
2011-03-09 10:27 | sturedman | Note Added: 0003539 | |||
2011-03-09 10:27 | sturedman | Assigned To | => sturedman | ||
2011-03-09 10:27 | sturedman | Status | new => resolved | ||
2011-03-09 10:27 | sturedman | Resolution | open => fixed | ||
2011-03-09 10:27 | sturedman | Fixed in Version | => 2.3.1 | ||
2011-03-09 10:27 | sturedman | Target Version | => 2.3.1 |
Notes | |||||
|
|||||
|
|