core icon indicating copy to clipboard operation
core copied to clipboard

Custom templates should push with their page no matter the filter that is selected

Open swicken-dotcms opened this issue 2 years ago • 0 comments

Describe the bug Currently if you push a page with a custom template and select any filter that does not include templates, it will not push the custom template alongside the page. This can create errors and unexpected behaviour.

Reproduced on: 22.03/5.3.8 Related Ticket: https://dotcms.zendesk.com/agent/tickets/107395

To Reproduce

  1. Set up a sender/receiver
  2. Create a new page on the sender with any template, then modify it's layout
  3. Push publish that page to the receiver with the filter 'Only Selected Items' selected.
  4. Try to open that page on the receiver, you will get the following error: image

This is because the custom template was not pushed alongside the page.

Expected behavior Because custom templates only impact the selected page and cannot be pushed separately, then they should be pushed with the page regardless of the filter selected. Custom templates should be considered part of the page, including layout changes.

swicken-dotcms avatar Jun 09 '22 19:06 swicken-dotcms