When switching the locale in the browser configuration between Japanese and English, the alt text for the portlet decorator actions are not consistently in the correct locale.
While using the ja locale, the alt text will remain in English for 'Maximize', 'Minimize' etc, and vice versa, while using en locale, the Japanese characters may display for the alt text.
While stepping through AbstractDecoratorActionsFactory.createAction, one line 169
169 HashMap resourcesMap = (HashMap)actionResourcesMap.get();
If this returns a reference, the values in the resourceMap are not cleared and initialized with the values from the localized bundle.
The resourceMap contains the localized bundle, it seems that even if a valid reference is returned, the locale of the bundle in the resourceMap should be compared with locale in the jetspeedRequestContext to see if it needs to be updated.
Because the resourceMap is not cleared when the locale changes, the localizedName string used to create the new DecoratorAction is in the wrong locale.
I initially posted this on the jetspeed forum, and then opened this issue.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|7d 15h 25m||1||Woonsan Ko||16/Apr/11 09:39|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Field||Original Value||New Value|
|Assignee||Woonsan Ko [ woon_san ]|
|Fix Version/s||2.2.2 [ 12313846 ]|