View Issue Details

IDProjectCategoryView StatusLast Update
0004681mantisbtadministrationpublic2013-12-01 22:05
ReporterTomR Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0004681: Utility to move attachments form one directory to another dir.
Description

In case of $g_file_upload_method = DISK;

Only moving the documents and changing project settings is not enough, also records in mantis_bug_file_table should be updated.

It would be nice to have such a utilty.

TagsNo tags attached.

Activities

vboctor

vboctor

2004-10-08 18:24

manager   ~0007975

We should probably revise the reason why moving the files and changing the upload directory is not enough. If a path is stored and we don't need it, then it should probably be removed via the upgrade script.

TomR

TomR

2004-10-15 10:25

reporter   ~0008058

Is this related to 0001063?

thraxisp

thraxisp

2004-10-15 13:57

reporter   ~0008069

This is complementary to 1063.

The full path to the file on disk is stored in schema. The folder path is stored as well. As it stands right now, you can change the file path and newly created files will go into the new directory (The old ones will stay put).

(FWIW, I have a patch to allow a mix of database and disk).