Open
Description
Which Umbraco version are you using?
15.4.0
Bug summary
When using content 'Save and Preview' and then clicking the 'End' button seems to put the browser in an endless redirect loop between two Umbraco urls. Important: this issue only affects content that's never been published before.
Specifics
From Chrome dev tools, there are approx 800 requests between two Umbraco urls e.g.
Steps to reproduce
- start with a clean install of Umbraco
- Set up two basic content trees (multisite structure with domain/hostname entered for each)
- Set up a "Not Found" content type and pages in each content tree to represent a 404 not found page.
- Add the NotFoundHandler as per https://docs.umbraco.com/umbraco-cms/reference/routing/request-pipeline/icontentfinder#notfoundhandlers
- Create a new content page (never been published)
- 'save and preview' to open the Preview Mode, and then click the End button (with browser network tab open to observe traffic)
Expected result / actual result
Expected: the End button closes the Preview mode tab
Actual: Umbraco puts the browser in a loop before eventually landing on the Not Found page
This item has been added to our backlog AB#54097