Message Boards

Liferay Fragments Toolkit - Propagation doesn't work

Federico Stendardi, modified 3 Years ago.

Liferay Fragments Toolkit - Propagation doesn't work

New Member Posts: 12 Join Date: 2/3/20 Recent Posts

Hi everyone, I'm asking help about the usage of Fragments Toolkit and more specifically the "propagation feature" of fragments (manual and automatic).

It seems that when using fragments toolkit the manual or automatic propagation doesn't work (or it's not triggered).

I've tried with the "import" command as well as the "compress" command and the manual copy of the zip to the deploy folder.

Fragment changed are correctly imported (I see the changed fragment from the "Page Fragments" section) but changes are not propagated to the pages that are using that fragment.

I'm using Liferay DXP 7.3.10-ga1

Maybe the propagation feature is not yet supported by the toolkit?

thanks

thumbnail
Christoph Rabel, modified 3 Years ago.

RE: Liferay Fragments Toolkit - Propagation doesn't work

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts

It worked in general in the CE editions, we tested it there. But the propagation frequently broke our pages or to be more precise, the edit mode threw errors after the propagation.

So we disabled it again and have not used the automatic propagation till then. I would have to ask the guys who do it frequently, but I think, they check on the test system, propagate there manually and only then do it on the production system, again manually.

thumbnail
Andrew Jardine, modified 3 Years ago.

RE: Liferay Fragments Toolkit - Propagation doesn't work

Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts

Hi Frederico, 

I came across this one a few weeks back and found that there is a setting that you need to turn on to allow the propagation to happen automatically. Can you check to make sure that in Control Panel > System Settings > Content and Data (section) > Page Fragments that the correct Propagate setting is enabled? I've actually taken to exporting this setting and including it in my workspace configs folder because I have been bitten by this one more than once now. Do note though that some changes can't propagate. For example, I have found that changes that I make to the JS files still require me to remove the fragment and add it back. Not sure if there is a way around that but if someone knows I'd love for them to share.