Author: hfnukal
Date: 2012-06-22 09:06:17 -0400 (Fri, 22 Jun 2012)
New Revision: 8739
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/localization/LocalizationFilter.java
Log:
Bug 818565 - Portal container name is hardcoded in the LocalizationFilter
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/localization/LocalizationFilter.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/localization/LocalizationFilter.java 2012-06-22
13:04:56 UTC (rev 8738)
+++
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/localization/LocalizationFilter.java 2012-06-22
13:06:17 UTC (rev 8739)
@@ -138,7 +138,7 @@
}
if (container instanceof RootContainer)
- container = (ExoContainer)
container.getComponentInstance("portal");
+ container = (ExoContainer)
container.getComponentInstance(req.getContextPath().substring(1));
LocaleConfigService localeConfigService = (LocaleConfigService)
container.getComponentInstanceOfType(LocaleConfigService.class);
Show replies by date