How can I download a .diff attachment in the ticket

Added by Tao Lin over 8 years ago

Hi,

If someone upload a .diff file to a ticket. When you click the file link, it will show up in diff viewer. But I cannot find a way to download the attachment to my local machine.

Is this a missing feature or some setting I miss?

Cheers,

Replies (5)

RE: How can I download a .diff attachment in the ticket - Added by Jan Niggemann (redmine.org team member) over 8 years ago

Just like you would downlownload everything else, right-click on the text of the filename and select "Save as..."?

RE: How can I download a .diff attachment in the ticket - Added by Toshi MARUYAMA over 8 years ago

Attachment link behavior changed by #4774 1.4.0.

RE: How can I download a .diff attachment in the ticket - Added by Jan Niggemann (redmine.org team member) over 8 years ago

Exactly, click on the magnifier to view and right-click on the text of the filename and select "Save as..."

RE: How can I download a .diff attachment in the ticket - Added by Tao Lin over 8 years ago

No, it don't work for me. If I click on the magnifier to view and right-click on the text of the filename, the only selection I got is 'Save link as ...' in Chrome. Whcn I click save, it save the whole html diff view instead of raw diff file.

Here is my envrionment:

Environment:
Redmine version 2.3.1.stable
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter Mysql2

Redmine plugins:
clipboard_image_paste 1.0
redmine_backlogs v1.0.1
redmine_lightbox 0.0.6
redmine_monitoring_controlling 0.1.1

Jan Niggemann wrote:

Exactly, click on the magnifier to view and right-click on the text of the filename and select "Save as..."

RE: How can I download a .diff attachment in the ticket - Added by Jan Niggemann (redmine.org team member) over 8 years ago

Look at "Image 1": You can download the diff if you right-click on the filename and select "Save as".
Look at "Image 2": You can download the diff clicking "Download".

If one or both don't work, then your browser is at fault.

save_diff_1.png - Image 1 (53 KB)

save_diff_2.png - Image 2 (15.2 KB)

(1-5/5)