View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037021 | mantisbt | attachments | public | 2026-04-14 06:54 | 2026-04-14 07:02 |
| Reporter | vicsuarez | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 2.28.0 | ||||
| Summary | 0037021: proj_doc_update.php: ERROR_FILE_INVALID_UPLOAD_PATH error when updating document content | ||||
| Description | proj_doc_update.php build incorrect server path when documents are stored in DISK.
Always gets "." as file path because 'diskfile' field only contains the file name with no path information. In file_api.php the path is obtained from configuration: | ||||
| Steps To Reproduce | 1 - Edit a project document | ||||
| Tags | No tags attached. | ||||
|
Error is generated when proj_doc_update.php calls fiel_ensure_valid_upload_path (file_api.php) with "." as path:
If MantisBT directory is not writable for web server userid then the part '''!is_writable($t_upload_path)''' is "true" and ERROR_FILE_INVALID_UPLOAD_PATH is generated. |
|