Type: Technical Task
Affects Version/s: None
Two test cases fail:
JavaDoc of PortletContext.getPortletContextName()
Returns the name of this portlet application correponding to this PortletContext as specified in the <code>web.xml</code> deployment descriptor for this web application by the display-name element.
The issues are caused by two reasons:
- During deployment of the war, the display-name element value in web.xml will be modified by Liferay. Pluto use hard-coded value as expected value. This will be fixed with PLUTO-675.
- In our case as deploying the war as a WAB, Liferay writes "/war-file-name" as display-name value, but the actual context name is "war-file-name" without the leading slash.