Defect #37881
closedThumbnails are no longer fetched for all notes of an issue
0%
Description
Hello. In Redmine 4 one could upload an attachment and use its file name in a thumbnail-macro in all issue comments (aka notes, aka journal). With version 5 the thumbnail is shown only in the comment, with which an image was uploaded, and if one reuses the macro code in other comments, then an error is shown "Error executing the thumbnail macro (test.jpg not found)"
Files
Related issues
Updated by Go MAEDA about 2 years ago
- File 37881-confirmed.jpg 37881-confirmed.jpg added
- Status changed from New to Confirmed
Confirmed the issue.
The macro {{thumbnail}}
works only if the image is attached to the same journal where the macro is embedded. In the following screenshot, {{thumbnail(IMG_6964.JPG)}}
works in note-3 but does not in note-4.
This issue looks similar to #37379.
Updated by Go MAEDA about 2 years ago
- Related to Defect #37379: Thumbnail macro does not work when a file is attached and preview is displayed immediately added
Updated by Mizuki ISHIKAWA about 2 years ago
- File fix-37881.patch fix-37881.patch added
Patch attached.
I have made similar changes in #37130.
Updated by Go MAEDA about 2 years ago
- Related to Defect #37130: Wiki notation `attachment:file_name` cannot make a link to a file attached to other journals added
Updated by Go MAEDA about 2 years ago
- Target version set to 5.0.5
Setting the target version to 5.0.5.
Updated by Go MAEDA about 2 years ago
- Status changed from Confirmed to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the fix. Thank you.
Updated by Go MAEDA almost 2 years ago
- Has duplicate Defect #38209: Error executing the thumbnail macro (Attachment image.png not found) when uploaded in note from MacOS Firefox 109 added