-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 6.1.20 EE GA2
-
Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M4
-
Component/s: Dev Tools, Dev Tools > Plugins SDK
-
Labels:None
-
Environment:LIFERAY VERSION: 6.1 GA2
APPLICATION SERVER: JBoss 7.1 AS
When accessing a page that is defined with a layout template that isn't deployed, Liferay just send a NPE with poor information about it.
Perhaps it should send a clear message about the fact that the layout template isn't deployed or maybe just make a fallback to a default layouttpl.
Steps to reproduce:
With a clean tomcat bundle, do:
1) deploy a layouttpl
2) create a page with that layouttpl
3) stop liferay
4) undeploy the layouttpl
5) start liferay
6) try to access the newly created page
Expected behavior:
Liferay falls back to a default layout template or send a clear message showing that the layouttpl is missing
Actual behavior:
Liferay sends a unavailability error to user and raise an NPE exception in the logs.
- duplicates
-
LPS-28363 console errors after undeploying selected layout plugin
- Closed