matethurzo/liferay-portal — pull request #881 by moltam89 (2014-12-04 13:44:54+00:00)
Title: [TECHNICAL-SUPPORT] LPS-51988 Staging - Modified Templates aren't published when the related Structures haven't been modified

Hi Máté,

this fix handles the Journal related Templates, we will need something similar for DDL.

Unfortunately, there is still problems with counting the exported Templates.

Calling ddmTemplateActionableDynamicQuery.performCount() counts DDL releated Templates as well.

As far as I know, we cannot create a query which gives back only the Journal related templates.

It would be possible to count the DDL releated Templates in the performAction method, but it seems weird to me, as the real problem is that we cannot tell from a Template whether it's related to the Journal or not.

What do you think?

Thanks,
Tamás