Project

General

Profile

Error #1594

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

Added by Pan Tau about 3 years ago. Updated 4 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") %>" />

#1

Updated by Sylvain Faivre 5 months ago

Thanks for the hint, this is still needed with Redmine 5.1.0

#2

Updated by Emilio González Montaña 4 months ago

  • Target version changed from Localizable 0.5.0 to Localizable 0.6.1

Also available in: Atom PDF