Pawel Bres
Pawel Bres
@mkucharz I see this is still an issue, I can handle it if it's ok for you
Is there any particular area you are thinking of?
I believe it's because of [this line](https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/Models/Mapping/MiscModelsMapper.cs#L21) it looks like it's no hitting your custom UrlProvider at all when generating new Redirect rule, instead of this it's using [this method](https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/Routing/UrlProvider.cs#L218)...
@bernardmoes @abjerner PR submitted #3286
Hi @mattbrailsford and @dawoe I've also found this one https://github.com/umbraco/Umbraco-CMS/blob/1bb593d264a085f94a3ce3bd710392b350561430/src/Umbraco.Web/Mvc/RenderRouteHandler.cs#L400 According to this line if either `FeaturesResolver.Current.Features.Disabled.DisableTemplates` or `routeDef.HasHijackedRoute` would be set to true, it will skip the `publishedContentRequest.UpdateOnMissingTemplate(); //...
Hi @dawoe maybe we could add a `HandleByDefaultController` flag to the `RouteDefinition` object, similar to `HasHijackedRoute`? This way we could add a condition to this if statement I've pointed out...
hi @Shazwazza the last option is looking promising and seems to be less problematic in implementation It would be also pretty easy to explain in docs how it works. So...