MantisBT: master-1.2.x 7f3b0e7c

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-09-19 05:13 master-1.2.x 5df3d933
Affected Issues  0014718: Clone cannot find attachments
Changeset

Cloning issues with attachments fails after upload folder changed

With attachments stored on disk, if the project's upload directory
changes and the files are moved to the new location, it is no longer
possible to clone issues.

The file_copy_attachments() function was modified to use the same logic
as elsewhere in MantisBT, i.e. rely on file_normalize_attachment_path()
to determine the attachment's path.

Fixes 0014718

mod - core/file_api.php Diff File