Affects Version/s: 6.1.X EE, 6.2.X EE, 7.0.0 M4
Fix Version/s: 7.0.0 M4
There are multiple portlets embedded to difference pages by using layout templates. In this example Asset Publisher and Search portlets are used.
Under heavy load the stored portlet preferences of these embedded portlets may contain foreign settings, that is, for 101_INSTANCE_01 preference primarySearch appears and for 3_INSTANCE_01 preference showContextLink appears.
This happens, because TemplatePortletPreferences is shared across requests and it isn't thread-safe.
Steps to reproduce
No manual steps have been found yet to reproduce. In order to be able to verify that the issue had been fixed, a unit test will be provided.