- Travel Home template is using a Page Properties dialog that includes a linkfield in the Search tab (Field Search result page)
- Create a livecopy of travel and rename it to mytravel
- Use the relink action.
All links in the page and in subnodes are relinked.
All is relinked except properties at the page level included by Page Property dialog. If the livecopy home page is opened it can be seen that the value of the search result page is pointing to travel instead of mytravel).
info.magnolia.livecopy.actions.rewire.RewirePageLinksHelper.rewritePageLinks(Node, boolean) is in charge of rewrite links in pages, it gets childnodes of the page and rewrite all its links, but ignores the links properties in the page itself.
It might be useful to call this also at page level and not only from child nodes: