Affects Version/s: 7.0.0 DXP SP2, Master
Component/s: Core Infrastructure > Service Builder
If a portlet has periods in its filename, the BeanLocator for the servlet context strips the periods out of the name when registering it in Tomcat. However, service builder generates the ClpSerializer file that returns the context name, informing the portal to search for the name with periods which results in a BeanLocatorException when the portal attempts to reference the portlet.
Steps to Reproduce:
1. Download the portlet in https://issues.liferay.com/browse/LPP-23153 (There are two versions with the same name, please download the latest one as it is modified to work with master))
2. Deploy the provided test portlet with periods in name.
3. Attempt to add the portlet to a page.
Portlet is added to the page and becomes available.
Portlet is added to the page but immediately becomes unavailable and BeanLocatorException is thrown in logs:
Issue reproduced in branch.
With the modified portlet, the issue is also reproduced