amschaal / glims

3 stars 0 forks source link

Attachments file path changing #58

Open amschaal opened 6 years ago

amschaal commented 6 years ago

It appears that changing project (or sample) directories moves related files. However, it seems that references in the database (ie: file attachments) are not updated. This is bad, and can lead to the database pointing at defunct file paths.

Example: Create project under "Group A". Upload file attachment. Change project to "Group B". File attachment now is listed under Group A's directory structure, but the project directory has been moved!