matethurzo/liferay-portal — pull request #308 by danielreuther (2013-01-03 14:38:56+00:00)
Title: [TECH SUPPORT] LPS-28363

Hi Máté,

Riccardo already sent a pull for this before... it's about exceptions after undeploying a layout template.

I decided to go a different way though and just added a null check. The problem is that we cannot assume that a certain layout template actually exists—it could in fact be a plugin which has already been removed.

Thanks,
Daniel