ealonso/liferay-portal — pull request #237 by matethurzo (2014-07-24 13:08:34+00:00)
Title: LPS-48749 Add fallback if request attribute results in null

Hey Eudaldo,

I have created a very quick fix for the LayoutsAdminDisplayContext. When the WebKeys.GROUP request attribute does not return with anything it is falling back to the groupId attribute.

I've already emailed you about the more robust fix, I'm going to implement that later, I just wanted to solve this NPE quickly because we cannot even use staging while it is broken.

cc @juliocamarero

Thanks,

Máté