juanferrub/liferay-portal — pull request #343 by epgarcia (2012-12-20 09:11:01+00:00)
Title: LPS-31685 Web Content Display fails to show a content with template

Changed so that DYNAMIC_DATA_MAPPING is used instead of PORTLET_DISPLAY_TEMPLATE in edit template urls.

We use template.getTemplateKey as value for the JournalArticle.templateId field, while template.getTemplateId is used to build the edit template urls.