Project

General

Profile

Actions

Defect #33287

open

Issue File Column Attachment Link Error

Added by Sarthak Bakshi almost 4 years ago. Updated over 3 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Attachments link on issue page inside Files column is breaking and file is unable to view.


Files

Issue_File_Link_View.png (63.8 KB) Issue_File_Link_View.png Sarthak Bakshi, 2020-04-14 20:58
Issue_File_Column_Link_View.png (118 KB) Issue_File_Column_Link_View.png Sarthak Bakshi, 2020-04-14 20:58
Actions #1

Updated by Marius BÄ‚LTEANU almost 4 years ago

  • Status changed from New to Needs feedback

We need more details about the issue and how to reproduce it, please see Submissions.

Actions #2

Updated by Sarthak Bakshi almost 4 years ago

Hey Marius,

Thank you for reply.

Please find below details regarding the issue:

1) Ruby Version - 2.5.3
2) Rails Version - 5.2.2.1

Steps to reproduce the issue:

1) Install blank redmine ova (preferably any 4.0 version)
2) After successfull installation Create Demo/Sample project
3) In that project create new issue and attach files to that issue
4) Now if you go to the issue and check the files section - on hovering over attached file you can see the link to download the attched file.
5) Now if you go to the issues tab and from options add the column named file you can see the attachments in that column.
6) If you hover over that attachments you will be able to see that the link is breaking in half.

I am attaching the files for your reference for better understanding.
For some reason I am not able to assign this issue to you,
If you are seeing this, Please check and help.

Thanks!

Actions #3

Updated by Mischa The Evil almost 4 years ago

FWIW: This also seems to be the subject of the No Attachements after update 2.5.0 -> 4.0.4 forum thread.

Actions #4

Updated by Go MAEDA almost 4 years ago

Sarthak Bakshi wrote:

6) If you hover over that attachments you will be able to see that the link is breaking in half.

I don't understand what does "the link is breaking in half" and what is broken. If you click the link, you will see the preview page of the attachment. Are you saying that the preview page doesn't show up when you click on the link?

Actions #5

Updated by Klaus Friese almost 4 years ago

Mischa The Evil wrote:

FWIW: This also seems to be the subject of the No Attachements after update 2.5.0 -> 4.0.4 forum thread.

Thanks, but I think my problem in the thread is different. I can download attachements and I can't see them in the attachement viewer because the path contains /redmine/redmine/ and it should be /redmine/

Actions #6

Updated by Sarthak Bakshi almost 4 years ago

Go MAEDA wrote:

Sarthak Bakshi wrote:

6) If you hover over that attachments you will be able to see that the link is breaking in half.

I don't understand what does "the link is breaking in half" and what is broken. If you click the link, you will see the preview page of the attachment. Are you saying that the preview page doesn't show up when you click on the link?

Problem is the link is being displayed as /redmine/attachments/id instead of /redmine/attachments/id/filename.
To preview the file using magnifying icon file link should be /redmine/attachments/id/filename as the link is upto id field only file preview is throwing error as "The requested content can not be loaded".

Actions #7

Updated by Sarthak Bakshi over 3 years ago

Nevermind I got the solution!

Actions

Also available in: Atom PDF