RE: Problem on Import resources Liferay 7

thumbnail
Joaquin Cabal, modified 6 Years ago. Regular Member Posts: 106 Join Date: 9/7/09 Recent Posts
Hi!

I am working with Liferay 7 DXP and a theme with resources importer. 
Inside resources importer we have structures and templates. When we deploy the first time the theme, all templates are updated in Database and we have well sinced database tamplates with templates code in theme.

The second time, when templates already exist in Database, the templates are not updated. What I saw is that when the import happens liferay has two differents elements for one template in table DDMTemplate.

One is for template site id -> which has the field "script " with freemarker updated data
Second is for specifically group site id -> which has the field script with freemarker old data. This site belongs to the above tempate site type.


So the question is, what is the expected behavior on this case? The import resources should update the template related to the template site? and after that how is this info loaded to the corresponding group site?

Thanks!
thumbnail
Joaquin Cabal, modified 6 Years ago. Regular Member Posts: 106 Join Date: 9/7/09 Recent Posts
I already could fixed. 
Seems the propagation from Site template to Site was disabled.
When enabled this and deploy theme with temaplates were imported ok
thumbnail
Joaquin Cabal, modified 6 Years ago. Regular Member Posts: 106 Join Date: 9/7/09 Recent Posts
Seems is not working.

FTL templates from Resources importer were loaded ok in Site template.
But for some reason the FTL template files included in the site are not updated. Even when the site has the option "propagation" activated.

Anyone with some idea why propagation of templates is not working?