Closed Jay-umbr closed 2 years ago
PR: https://github.com/umbraco/Umbraco-CMS/pull/12453.
The issue is that redirects are not generated when content is invariant bus has a variants ancestor. As the wiki
page in the umbTrainingSite.package
package that is invariant, but home
is variant
Which exact Umbraco version are you using? For example: 9.0.1 - don't just write v9
9.5
Bug summary
The exact scenario I am going with: I have a form on a page that allows you to modify the page contents, including the Name of the page. On saving the form I have a RedirectToCurrentUmbracoPage, which should put me back on the exact same page I was modifying, even if the name (and as a result, the URL) has changed. This used to work fine until around version 9.2. With my specific scenario submitting a form gives me the message mentioned below.
In the backoffice, URL tracker seems to be enabled. However there are no redirects visible. The Links in the Info tab on specific content items also do not list any redirects.
Specifics
Steps to reproduce
Expected result / actual result
Expected result: changing the name of the content items should allow them to be accessible under the old URLs. Actual result: Changing the name of the content item and navigating to the old URL gives us a 404 status.