Actions
Defect #11487
closedCannot Save Special Characters (Such as Japanese) in Redmine Settings Hash from a Plugin
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Wont fix
Affected version:
Description
I am having problems saving special characters in the Redmine Settings hash variable from a plugin.
The offending line resides in settings_controller.rb:
Setting.send "plugin_#{@plugin.id}=", params[:settings]
	with the following error:
Psych::SyntaxError (special characters are not allowed): app/models/setting.rb:95:in `value' app/models/setting.rb:115:in `[]=' app/models/setting.rb:145:in `plugin_redmine_xxx=' app/controllers/settings_controller.rb:58:in `plugin'
I do not get any errors saving special characters in the Redmine Welcome Message which is also saved in the Redmine Settings hash variable.
My environment is as follows:- Windows Server 2008
 - Redmine: 2.0.2
 - Java JDK: 1.6.0_31
 - MySQL Community Edition: 5.5.23
 - Torquebox: 2.0.3
	
- JBoss AS: 7.1.1.Final
 - JRuby: 1.6.7.2 (Ruby 1.9 Mode)
 
 
      
      Updated by Marius BĂLTEANU about 7 years ago
      
    
    - Status changed from New to Closed
 - Resolution set to Wont fix
 
Jruby is no longer supported starting with Redmine 3.0.0.
Actions