APAR status
Closed as program error.
Error description
The SortingLocaleFilteris can be configured to change the fallback algorithm for locales send via the accept-language header by the browser. If this filter is used with variants of the same language in different positions of the header field, the result does not intuitively match the expected settings. The following header en-US, de, en-CA will correctly be transformed to en-US, de, en-CA, en which is counter-intuitive as de will be rendered instead of en per default in portal (with only 'de' and 'en' resources available). This PK changes the implementation of the filter to group the fallback paths for each language at the first language occurence, so that en-US, de, en-CA will be transformed to en-US, en-CA, en, de
Local fix
N/A
Problem summary
The SortingLocaleFilteris can be configured to change the fallback algorithm for locales send via the accept-language header by the browser. If this filter is used with variants of the same language in different positions of the header field, the result does not intuitively match the expected settings. The following header en-US, de, en-CA will correctly be transformed to en-US, de, en-CA, en which is counter-intuitive as de will be rendered instead of en per default in portal (with only 'de' and 'en' resources available). This PK changes the implementation of the filter to group the fallback paths for each language at the first language occurence, so that en-US, de, en-CA will be transformed to en-US, en-CA, en, de
Problem conclusion
The sort order will now match the intuition. The locales will be sorted such for any pair of locales A and B: if B is on the fallback path of A then it will appear later in the sorted list than A. Failing Module(s): Engine: State handling Affected Users: All Users Version Information: Portal Version(s): 6.1.0.0 Pre-Requisite(s): PK68421 Co-Requisite(s): --- Portal Version(s): 6.1.0.1 Pre-Requisite(s): PK68421 Co-Requisite(s): --- Platform Specific: This fix applies to all platforms. A fix is available from Fix Central: http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde r?apar=PK80088&productid=WebSphere%20Portal&brandid=5 You may need to type or paste the complete address into your Web browser.
Temporary fix
Comments
APAR Information
APAR number
PK80088
Reported component name
WEBSPHERE PORTA
Reported component ID
5724E7600
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-02-09
Closed date
2009-07-31
Last modified date
2010-10-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE PORTA
Fixed component ID
5724E7600
Applicable component levels
R610 PSY
UP
R61A PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
21 December 2021