Project

General

Profile

Actions

Defect #38209

closed

Error executing the thumbnail macro (Attachment image.png not found) when uploaded in note from MacOS Firefox 109

Added by Mateng Terbersen over 1 year ago. Updated about 1 year ago.

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

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

This happens in Redmine 5.0.3 on a MacOS 12.6 Monterey system.

Similar to #37379, but the error occurs in notes always when the images are uploaded in Mozilla Firefox 109 (MacOS)
and the thumbnail macro {{thumbnail(image.png)}} is used.

  • The error usually does not occur in the issue description.
  • Images uploaded and inserted in both Browsers work fine (![](image.png)
  • Thumbnails created in Chrome from images uploaded in Firefox do not work
  • Thumbnails created in Firefox made from images uploaded in do not work
  • Thumbnails created in Firefox from images uploaded in Firefox do not work
  • It affects both .png and .jpg files.
  • It happens in Firefox Safe Mode
  • Only thumbnails created in Chrome from images uploaded in Chrome work fine.

example.png


Files

example.png (53 KB) example.png Mateng Terbersen, 2023-01-24 10:06

Related issues

Is duplicate of Redmine - Defect #37881: Thumbnails are no longer fetched for all notes of an issueClosedGo MAEDA

Actions
Actions #1

Updated by Mateng Terbersen over 1 year ago

Test if this happens on redmine.org as well:

{{thumbnail(example.png)}}

example.png

(The macro seems to be inactive here)


Clarification:

This happens on a installation of Redmine 5.0.3 on Linux Debian, and I as a user access the system in a browser from a MacOS 12.6 Monterey system.

Actions #2

Updated by Go MAEDA over 1 year ago

Could you try replacing lib/redmine/wiki_formatting/macros.rb with the one that can be downloaded from the following URL and see if the reported issue occurs?
https://www.redmine.org/projects/redmine/repository/revisions/22012/entry/trunk/lib/redmine/wiki_formatting/macros.rb

Actions #3

Updated by Mateng Terbersen about 1 year ago

This works, thanks a lot! Is this fix already released in a Redmine version?

Actions #4

Updated by Go MAEDA about 1 year ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Thank you for your feedback. Closing this issue.

Mateng Terbersen wrote:

Is this fix already released in a Redmine version?

No, it has not yet been delivered. The fix will be included in the upcoming Redmine 5.0.5 (#37881).

Actions #5

Updated by Go MAEDA about 1 year ago

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

Also available in: Atom PDF