Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.2-EE-GA_P01
-
Fix Version/s: None
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces
Description
SettableLocaleViewRoot is implemented by inspecting the stack to accept the locale only from certain callers:
public void setLocale(Locale locale) {
//ignore locale set by RestoreViewPhase since it is using the first locale in the Accept-Language list,
//instead it should calculate the locale
StackTraceElement[] ste = (new RuntimeException()).getStackTrace();
This approach is performance intensive and should be revised.
public void setLocale(Locale locale) {
//ignore locale set by RestoreViewPhase since it is using the first locale in the Accept-Language list,
//instead it should calculate the locale
StackTraceElement[] ste = (new RuntimeException()).getStackTrace();
This approach is performance intensive and should be revised.
Activity
Ted Goddard
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8.2-EE-GA_P02 [ 10226 ] | |
Fix Version/s | 1.8.3 [ 10211 ] | |
Assignee Priority | P3 |
Deryk Sinotte
made changes -
Assignee | Ted Goddard [ ted.goddard ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 1.8.2-EE-GA_P02 [ 10226 ] | |
Fix Version/s | 1.8.3 [ 10211 ] | |
Assignee Priority | P3 |
Ken Fyten
made changes -
Assignee | Ted Goddard [ ted.goddard ] |
Perhaps there is a way to use a PhaseListener here?