jonathanmccann/liferay-portal — pull request #517 by jgok (2014-11-08 00:28:42+00:00)
Title: LPS-51401

Hi Jon,

This PR is to fix an issue with the ddmtemplate/add-template JSON webservice call, which throws a NPE. The NPE occurs because the JSON webservice call does not have a referer portlet name or a portlet id, so it uses a null value for the referer portlet name.

My fix uses the portlet id of the dynamic data list portlet as the "default" referer portlet name.

Thanks,
Josh