Umbraco Redirect (Umbraco URL Management) not working

Hi

After an upgrade from 8.7.0 to 8.10.1 we have discovered a problem.

The automatic Umbraco redirects are not working any longer - which means we get a 404 on those pages (served via our custom LastChanceContentFinder).

I have looked into the source code of Umbraco, and maybe I have found an issue.

So, it seems like all the Umbraco redirects in the DB (umbracoRedirectUrl) has an empty “culture”. If I edit a node in Umbraco and provide it a new node-name (and URL) and look at the auto-generated entry in the table - the culture on the entry is empty.

So, looking at the log files (debug) I found the following:

“No match for route: {Route}”,“@l”:“Debug”,“Route”:“1059/xxx/yyy/xxxx”,“SourceContext”:“Umbraco.Web.Routing.ContentFinderByRedirectUrl”…

This led me to the “RedirectUrlService” in the Umbraco Source Code - and it seems like a change has been made on the culture a few months back:

If I provide a culture directly in the DB on the entries in umbracoRedirectUrl (e.g. da-dk) it is working - so maybe it is related?

GetMostRecentRedirectUrl vs. GetMostRecentUrl i think we have an issue since we do not have cultures on the records?

Am I missing something here - or is this a bug?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/104868-umbraco-redirect-umbraco-url-management-not-working