View Issue Details

IDProjectCategoryView StatusLast Update
0013225mantisbtattachmentspublic2014-09-23 18:05
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.7 
Target Version1.2.7Fixed in Version1.2.7 
Summary0013225: 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.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036413

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x b569cae8

2011-08-08 23:21

dregad


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

dregad


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