Project

General

Profile

Actions

Defect #15261

closed

Attachments are downloaded instead of being viewed inline

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Redmine 2.3.x doesn't show attachments inline.

Steps to reproduce

  1. Create issue
  2. Attach small text file
  3. Click on attached file

Expected result

  1. File is shown inline

Actual result

  1. File is downloaded

Example

  1. http://demo.redmine.org/issues/28255
  2. http://demo.redmine.org/projects/pfrb/wiki
Actions #1

Updated by Mischa The Evil over 10 years ago

  • Status changed from New to Needs feedback
  • Resolution set to Cant reproduce

Sergey B wrote:

3. Click on attached file

It is designed in such a way that when you click on:
  • attachment name: download is forced
  • magnifier icon to the right of the attachment name: file in shown

This is exactly the behavior I see in both the example URLs you posted.
Please provide some more details.

Actions #2

Updated by Anonymous over 10 years ago

Yes. I didn't notice that the the icon is clickable. I thought, that this icon is just a decoration, because the same magnifier in 'add relate issue' field does nothing.

Actions #3

Updated by Mischa The Evil over 10 years ago

  • Status changed from Needs feedback to Closed
  • Resolution changed from Cant reproduce to Invalid

Thanks for your feedback.

Yes. I didn't notice that the the icon is clickable. I thought, that this icon is just a decoration, because the same magnifier in 'add relate issue' field does nothing.

Well, it's clickable in the context of attachments. In the context of input fields the icon is used only to indicate that the field has auto-complete search enabled hence it's not clickable.

To be complete:

The filename link triggers a download of the attachment by default (where images are sent inline), and the magnifier ( ) icon (introduced here for #4774 and which is shown only for text files) links to a view that shows the file contents (where diff and patch files on their turn are shown using Redmine's Unified diff viewer).

Actions

Also available in: Atom PDF