Public sites (with .anon role) don't respect site's configured language

Description

Since SAK-10393 is possible to configure a site to be shown only in one specific language instead of user-preferred language.

However, when a site is public (.anon role is allowed to use it), the anonymous access makes the site to be in Tomcat's default language.

Activity

Show:

Hudson CI Server January 21, 2013 at 8:52 AM

Integrated in portal 2.9.x #92 (See http://builds.sakaiproject.org:8080/job/portal%202.9.x/92/)
https://sakaiproject.atlassian.net/browse/SAK-22846#icft=SAK-22846 merge r115334 from trunk (Revision 118536)

Result = SUCCESS

Sam Ottenhoff January 21, 2013 at 8:32 AM

2.9.x r118536

Hudson CI Server October 31, 2012 at 12:59 AM

Integrated in portal trunk #1509 (See http://builds.sakaiproject.org:8080/job/portal%20trunk/1509/)
https://sakaiproject.atlassian.net/browse/SAK-22846#icft=SAK-22846 add debug logging (Revision 115334)

Result = SUCCESS

Steve Swinsburg October 31, 2012 at 12:11 AM

Added debug logging r115334. For the real fix, see https://sakaiproject.atlassian.net/browse/KNL-984#icft=KNL-984

Steve Swinsburg October 30, 2012 at 10:12 PM

The fix for this is in ResourceLoader.setContextLocale(Locale loc) and getLocale(), see KNL-984.

To make things useful for developers, I've added a debug line to the portal, which is the only thing committed against this ticket.

Fixed

Details

Priority

Affects versions

Fix versions

Assignee

Reporter

Created October 30, 2012 at 5:24 AM
Updated February 11, 2013 at 12:07 PM
Resolved October 31, 2012 at 12:11 AM

Flag notifications