Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Cannot Reproduce
-
2.3.34
-
None
Description
This problem is caused by the cache mechanism of i18 resources. In findDefaultText() method, it used the ClassLoader hashcode as the key. But it forget the child-parent hierarchy. In some framework, they will create new ClassLoader as the WebappClassLoader children. In such case,it's impossible to find the i18 resources for them.
Source code in LocalizedTextUtil.findDefaultText:
List<String> localList = classLoaderMap.get(Thread.currentThread().getContextClassLoader().hashCode());
Attachments
Issue Links
- links to