-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 3.2
-
Component/s: None
This bug can potentially break the profiling activation in Confluence.
Steps to reproduce:
1. Install and activate a foreign language pack. Japanese and Chinese are good examples.
2. Activate profiling (admin/viewlog4j.action) by clicking on the "Enable Profiling" button. Activation fails.
HTML
<input type="submit" name="profilingButtonValue" value="プロファイル作成を有効にする">
This one always returns false:
com.atlassian.confluence.admin.actions.ConfigureLog4jAction
public void setProfilingButtonValue(String buttonValue)
{
profilingOn = getText("loglevel.profilingOn").equals(buttonValue);
}
As a workaround, edit the button value as defined inside the plugin's properties file. For instance, in the Japanese language pack:
loglevel.profilingOn=\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210\u3092\u6709\u52b9\u306b\u3059\u308b
Edit the value to only consist English characters such as:
loglevel.profilingOn=Enable Profiling
(This will, of course, display the button value in English rather than Japanese).