daledotshan/liferay-portal — pull request #144 by zxdgoal (2014-12-03 02:19:07+00:00)
Title: LPS-51930 Liferay doesn't send mail to the subscribed user if a file has been uploaded via WebDAV.

As discussed, currently, the portal fails to send notification email due to

1) Command in serviceContext is NULL.
2) EntryURL in workflowContext is NULL.

For entryURL, it is not possible to construct it in the way of adding document via DM portlet as the themeDisplay is missing if a document is added with WebDaV.

So we cannot figure out the where the DM portlet resides and where to display to document uploaded.

Hence, I construct a new EntryURL for documented uploaded with WebDav, which is a link to directly download it after authentication.

Let me know if you have any concerns

Thanks
John.