Affects Version/s: 2.5.10
Fix Version/s: 2.5.16
Changes made in
WW-4730 for store and read functions cause an httpSession to be created for every request that uses I18nInterceptor when storage = Storage.SESSION.
Current code checks for
to be null and then calls
(notice how the second one references the HttpServletRequest. The HttpServletRequest Session and and the InvocationContext session are different. The request's session can be null, even if the InvocationContext's session is not).
Calling .getSession() in this manner forcefully creates a session.
An appropriate check here might be