Project

General

Profile

Actions

Defect #37130

closed

Wiki notation `attachment:file_name` cannot make a link to a file attached to other journals

Added by Mizuki ISHIKAWA over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Using attachment:file_name notation in Redmine 5.0-stable and later does not work for attachments in other journals.
It worked until Redmine 4.2-stable.
Even in 5.0-stable, it is converted to a link in preview, but not after saving.

notes notes preview
Redmine 4.2-stable
Redmine 5.0-stable

Affected version: 5.0


Files

4.2-stable.png (48.7 KB) 4.2-stable.png Mizuki ISHIKAWA, 2022-05-18 02:01
4.2-stable-preview.png (155 KB) 4.2-stable-preview.png Mizuki ISHIKAWA, 2022-05-18 02:01
5.0-stable.png (154 KB) 5.0-stable.png Mizuki ISHIKAWA, 2022-05-18 02:01
5.0-stable-preview.png (156 KB) 5.0-stable-preview.png Mizuki ISHIKAWA, 2022-05-18 02:01
fix-37130.patch (1.86 KB) fix-37130.patch Mizuki ISHIKAWA, 2022-05-20 04:24

Related issues

Related to Redmine - Feature #35462: Download all attachments in a journalClosedGo MAEDA

Actions
Related to Redmine - Defect #37881: Thumbnails are no longer fetched for all notes of an issueClosedGo MAEDA

Actions
Actions #1

Updated by Mizuki ISHIKAWA over 2 years ago

I attached is a patch that fixes the problem.

Actions #2

Updated by Go MAEDA over 2 years ago

  • Related to Feature #35462: Download all attachments in a journal added
Actions #3

Updated by Go MAEDA over 2 years ago

  • Affected version set to 5.0.0
Actions #4

Updated by Go MAEDA over 2 years ago

  • Subject changed from Cannot refer to a file attached to another journal with the wiki notation `attachment:file_name` to Wiki notation `attachment:file_name` cannot make a link to a file attached to other journals
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version set to 5.0.2
  • Resolution set to Fixed

Committed the fix in r21605.

Actions #5

Updated by Mischa The Evil over 2 years ago

  • Status changed from Closed to Reopened

Reopening this issue because r21605 still needs to be merged into source:/branches/5.0-stable.

Actions #6

Updated by Mischa The Evil over 2 years ago

  • Status changed from Reopened to Resolved
Actions #7

Updated by Marius BÄ‚LTEANU over 2 years ago

  • Status changed from Resolved to Closed

Mischa The Evil wrote:

Reopening this issue because r21605 still needs to be merged into source:/branches/5.0-stable.

Merged, thanks for pointing this out.

Actions #8

Updated by Go MAEDA almost 2 years ago

  • Related to Defect #37881: Thumbnails are no longer fetched for all notes of an issue added
Actions

Also available in: Atom PDF