プロジェクト

全般

プロフィール

Vote #80807

未完了

Issue File Column Attachment Link Error

Admin Redmine さんが約2年前に追加.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
0
issue_org_id:
33287
author_id:
451841
assigned_to_id:
0
comments:
7
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
157
ステータス-->[Needs feedback]

説明

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


journals

We need more details about the issue and how to reproduce it, please see [[Submissions]].
--------------------------------------------------------------------------------
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!
--------------------------------------------------------------------------------
FWIW: This also seems to be the subject of the message#59108 forum thread.
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
Mischa The Evil wrote:
> FWIW: This also seems to be the subject of the message#59108 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/_
--------------------------------------------------------------------------------
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".

--------------------------------------------------------------------------------
Nevermind I got the solution!
--------------------------------------------------------------------------------

表示するデータがありません

他の形式にエクスポート: Atom PDF

いいね!0