View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013225 | mantisbt | attachments | public | 2011-08-09 06:22 | 2014-09-23 18:05 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.7 | ||||
Target Version | 1.2.7 | Fixed in Version | 1.2.7 | ||
Summary | 0013225: Inconsistent handling of project file upload path | ||||
Description | Currently when a new project is created, the file upload path provided is compared to the default path. If they are equal, then the project path is set to blank to avoid having to change the path for every project if the default is changed. The problem is that the location of this test (in manage_proj_create.php) causes inconsistent behavior, because the check is not performed when updating a project. | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x b569cae8 2011-08-08 23:21 Details Diff |
Fix 0013225: Inconsistent handling of project file upload path Create a new function in project api to handle the file path validation and move the code comparing project file path check vs default path currently in manage_proj_create.php into the new function. The function is called from both project_create and project_update to ensure consistent behavior. |
Affected Issues 0013225 |
|
mod - core/project_api.php | Diff File | ||
mod - manage_proj_create.php | Diff File | ||
MantisBT: master 0b449f92 2011-08-09 00:02 Details Diff |
Fix 0013225: Inconsistent handling of project file upload path Create a new function in project api to handle the file path validation and move the code comparing project file path check vs default path currently in manage_proj_create.php into the new function. The function is called from both project_create and project_update to ensure consistent behavior. |
Affected Issues 0013225 |
|
mod - core/project_api.php | Diff File | ||
mod - manage_proj_create.php | Diff File |