Issue
- During startup (or upgrade) we see this error in the logs
ERROR [main][VerifyProperties:163] Portal property "com.liferay.portal.servlet.filters.i18n.I18nFilter" is obsolete
Why was this removed, and what do we need to do now?
Resolution
- You probably see this because you have this filter disabled (property set to false) in your portal-ext file.
- The
I18nFilter filter was moved from the liferay core (portal-impl) to a separate module (new module portal-i18n-filter). This change was done for several filters before, and the same pattern was followed here.
- Once a filter is moved to a separate module, there are no portal properties that you can set in order to disable it. (so you should remove that line from your portal-ext)
- However, since the
I18nFilter filter is an OSGI component now, called com.liferay.portal.i18n.filter.internal.I18nFilter, you should be able to blacklist it to avoid being executed if you so wish (see
Blacklisting OSGi Components)