moltam89/liferay-portal — pull request #332 by vilmospapp (2014-03-10 12:22:19+00:00)
Title: [TECHNICAL SUPPORT] LPS-40898 Fixed Link To Layout type page publishing when page versioning is enabled

Hi Tomcsi,

This fix is the same for my previous PR: https://github.com/moltam89/liferay-portal/pull/327 After discussing it with @KocsisDaniel I modified the fix, so instead of handling the export differently for Link To Layout, now I set WorkflowConstants.ACTION_PUBLISH for URL and Link to Layout types instead of WorkflowConstants.ACTION_SAVE_DRAFT. This way we rely on the workflow handling and later it will be much cleaner to revert this change when we will have a UI for approving these type of layouts' revisions.

Please check this out and let me know of your thoughts.

Regards,
Vilmos