Defect #37130

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

Added by Mizuki ISHIKAWA about 1 month ago. Updated 27 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Text formatting
Target version:5.0.2
Resolution:Fixed Affected version:5.0.0

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

4.2-stable.png (48.7 KB) Mizuki ISHIKAWA, 2022-05-18 02:01

4.2-stable-preview.png (155 KB) Mizuki ISHIKAWA, 2022-05-18 02:01

5.0-stable.png (154 KB) Mizuki ISHIKAWA, 2022-05-18 02:01

5.0-stable-preview.png (156 KB) Mizuki ISHIKAWA, 2022-05-18 02:01

fix-37130.patch Magnifier (1.86 KB) Mizuki ISHIKAWA, 2022-05-20 04:24


Related issues

Related to Redmine - Feature #35462: Download all attachments in a journal Closed

Associated revisions

Revision 21605
Added by Go MAEDA about 1 month ago

Wiki notation `attachment:file_name` cannot make a link to a file attached to other journals (#35462).

Patch by Mizuki ISHIKAWA.

Revision 21623
Added by Marius BALTEANU 27 days ago

Merged r21605 to 5.0-stable (#37130).

History

#1 Updated by Mizuki ISHIKAWA about 1 month ago

I attached is a patch that fixes the problem.

#2 Updated by Go MAEDA about 1 month ago

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

#3 Updated by Go MAEDA about 1 month ago

  • Affected version set to 5.0.0

#4 Updated by Go MAEDA about 1 month 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.

#5 Updated by Mischa The Evil 29 days ago

  • Status changed from Closed to Reopened

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

#6 Updated by Mischa The Evil 29 days ago

  • Status changed from Reopened to Resolved

#7 Updated by Marius BALTEANU 27 days 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.

Also available in: Atom PDF