https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292019-03-25T02:48:03ZRedmineRedmine - Defect #31087: Deleting a version silently deletes its attachmentshttps://www.redmine.org/issues/31087?journal_id=909162019-03-25T02:48:03ZGo MAEDA
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/90916/diff?detail_id=73100">diff</a>)</li></ul> Redmine - Defect #31087: Deleting a version silently deletes its attachmentshttps://www.redmine.org/issues/31087?journal_id=909462019-03-26T08:46:25ZTakenori TAKAKItakenory@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/22705">31087.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22705/31087.patch">31087.patch</a> added</li></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>You can reproduce the problem with the following steps:</p>
<p>1. Create a new version<br />2. Open the "Files" tab in the project menu<br />3. Attach a file to the version<br />4. Delete the version. Attached files are deleted along with the version without warning</p>
<p>I think Redmine should not allow deleting a version with attachments.</p>
</blockquote>
<p>I could reproduce this problem on my environment. I also think that Redmine should not allow deleting the version with attachments.<br />I made a patch that added test code to the Karel Pičman's patch.</p> Redmine - Defect #31087: Deleting a version silently deletes its attachmentshttps://www.redmine.org/issues/31087?journal_id=909472019-03-26T09:12:56ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>3.4.10</i></li></ul><p>Setting the target version to 3.4.10.</p> Redmine - Defect #31087: Deleting a version silently deletes its attachmentshttps://www.redmine.org/issues/31087?journal_id=909502019-03-26T11:06:26ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Deleting a version deletes files attached to the version without warning</i> to <i>Fix that deleting a version silently deletes its attachments</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch. Thank you.</p> Redmine - Defect #31087: Deleting a version silently deletes its attachmentshttps://www.redmine.org/issues/31087?journal_id=909512019-03-26T11:06:53ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Fix that deleting a version silently deletes its attachments</i> to <i>Deleting a version silently deletes its attachments</i></li></ul> Redmine - Defect #31087: Deleting a version silently deletes its attachmentshttps://www.redmine.org/issues/31087?journal_id=909522019-03-26T14:41:42ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>