Rollout configs with "modification" and "rollout" triggers aren't working together
There is a feature (or a bug) with msm config with modification trigger, which block proper working of rollout config with rollout trigger.
This is a simple case which isn't working as expected:
1.Copy OOTB rollout configuration from /libs/msm/wcm/rolloutconfigs/pushonmodify to /apps/msm/we-retail/rolloutconfigs/pushonmodify .
Then in the copied version, remove all actions except “contentDelete” action.
Rename the configuration from “pushonmodify” to “pushondelete” and update the title to “Push on delete” to distinguish this configuration from the standard one.
2.Open page /content/we-retail/us/en and on the tab “Live Copy” add the new rollout config to the list of configs. Thus the page will have both “Standard rollout config” and “Push on delete”. Another Live Copy /content/we-retail/ca/en still has only “Standard rollout config”.
Test Case steps:
1.Open properties of the master-page /content/we-retail/language-masters/en/men and update the property “Page Title” on the “Basic” tab, then save changes.
2.Open properties of the root-page /content/we-retail/language-masters/en, go to the tab “Blueprint” and click “Rollout” button. Check all live copies (in our case it is /content/we-retail/ca/en and /content/we-retail/us/en) and CHECK “Rollout page and all subpages” checkbox. Then confirm rollout.
3.Check the properties of /content/we-retail/ca/en/men, it has the property “Page title” updated. (success)
4.Check the properties of /content/we-retail/us/en/men, it has the property “Page title” not updated (fail, why?).
It is obvious, that “Push on delete” config in our cases does nothing, because we are not deleting any page, but somehow affects the live-copy configurations. Under the hood we found out that this configuration is really triggered on modification event after saving the modified page /content/we-retail/language-masters/en/men and rollout action actually does nothing, but RolloutManager for some reason updates the cq:lastRolledout date property on live-copy causing this property to be “after” the date of cq:lastModified of the modified master page. By this reason the live-copy will not be updated during explicit rollout process started by user. That is because the cq:lastRolledout of the live-copy is being compared with the cq:lastModified of the master, and live-copy will be updated only if master became “younger” then live-
Could anyone help me with this case? How could I make "Page title" get updated in /content/we-retail/us/en?