JorgeFerrer/liferay-portal — comment on commit c24b944c024d6ee7b697292390b1c570c1d85bfc
File:  line 0
By JorgeFerrer:

Hey Ray,

I had understood in our call that you had suggested to use LayoutLocalServiceUtil.updateLayout(layout, false); specifically so that the Layout listener would be invoked so that it would also update the modified date of the layoutSet.

If I change it to LayoutUtil.updateImpl(layoutPrototypeLayout, false);, should I also fetch and update the LayoutSet manually?

My fear if I do that is that eventually something might be added to the layout listener that will not be added here which would create a bug due to the duplication in code. Any thoughts on that?