Project

General

Profile

Actions

Defect #37394

open

uninitialized constant Redmine::WikiFormatting::CommonMark::HTML (NameError)

Added by Mischa The Evil almost 3 years ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

There appears to exist a loading issue, probably connected to the Zeitwerk loader, which has now been reported twice in the forums:
1. Error with redmine 5.0.2 on FreeBSD 13.1 amd64 :: Redmine...
2. Help: uninitialized constant Redmine::WikiFormatting::Com...

The exception raised in both the reports is "uninitialized constant Redmine::WikiFormatting::CommonMark::HTML (NameError)".
It gets triggered by source:/tags/5.0.2/lib/redmine/wiki_formatting/common_mark/external_links_filter.rb#L27.

I don't know if this can be reproduced and if so how, but I thought that given that it is the same exception in both the reports, it might be something that has to be investigated and fixed if necessary.


Files

37394.patch (730 Bytes) 37394.patch Go MAEDA, 2025-04-23 11:42
37394-v2.patch (52.1 KB) 37394-v2.patch Go MAEDA, 2025-04-27 10:03
Actions

Also available in: Atom PDF