Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037424 | mantisbt | attachments | public | 2026-09-27 09:32 | 2026-09-28 08:21 |
| Reporter | ricardoalonsos | Assigned To | community | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | acknowledged | Resolution | open | ||
| Product Version | 2.28.4 | ||||
| Summary | 0037424: Attachments are orphaned on disk when a project's file path is changed | ||||
| Description | bug_file.folder records where an attachment was written, but most readers ignore it and re-derive the path from the project's current file_path. project_update() lets an administrator repoint a project's file path without moving existing attachments, after which deleting an issue or project silently leaves files behind, file_get_content() returns false (empty XML export / print pages), and the SOAP API reports the attachment as missing. | ||||
| Steps To Reproduce | with file_upload_method = DISK: create a project with file_path = /mnt/a/, attach a file to an issue, change the project's file path to /mnt/b/, delete the issue — the file remains at /mnt/a/. | ||||
| Tags | No tags attached. | ||||
related to
child of
duplicate of