Project

General

Profile

Error #1594

Redmine 4.2.0 + Localizable 0.4.0: Internal Error entering Plugin Setting Page

Added by Pan Tau over 3 years ago. Updated 11 months ago.

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

0%

Estimated time:
Source:
Development
Detected on version:
Redmine version:
Milestones:

Description

Sunding Wei found an solution (https://www.redmine.org/issues/3972#note-38) to run Localizable 0.4.0 on Redmine 4.2.0.

Fix file: plugins/localizable/app/views/settings/_localizable.html.erb
Row 96:

-  value="<%= @settings["locales"][element[:name]][object.id.to_s][locale].to_s.force_encoding("UTF-8") %>" />
+  value="<%= @settings["locales"][element[:name]][object.id.to_s][locale].to_s.dup.force_encoding("UTF-8") %>" />

Also available in: Atom PDF