-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.20 EE GA2, 6.2.0 CE M2
-
Fix Version/s: 6.0.X EE, 6.1.20 EE GA2, --Sprint 11/12, 6.2.0 CE M2
-
Component/s: Site Templates
-
Labels:
-
Branch Version/s:6.1.x, 6.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
Steps to reproduce:
1. Go to control panel -> Sites
2. Create a new Site based in Community Site
3. Leave all options as default
The site is created, but it doesn't contain any layout. At Tomcat log you get a NullPointerException:
Caused by: java.lang.NullPointerException
at com.liferay.portal.lar.PortletDataContextImpl.isValidPath(PortletDataContextImpl.java:1437)
at com.liferay.portal.lar.PortletDataContextImpl.getZipEntryAsByteArray(PortletDataContextImpl.java:801)
at com.liferay.portal.lar.LayoutImporter.doImportLayouts(LayoutImporter.java:477)
at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:143)
at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1364)