On both my v14 sites, when I click ‘Save and Preview’ I get sent to a page URL that ends with “&culture=invariant”
This results in an error:
CultureNotFoundException: Culture is not supported. (Parameter ‘name’)
invariant is an invalid culture identifier.
System.Globalization.CultureInfo.GetCultureInfo(string name)
Umbraco.Cms.Web.Common.Localization.DynamicRequestCultureProviderBase.<DetermineProviderCultureResult>b__4_0(StringSegment culture)
Umbraco.Cms.Web.Common.Localization.DynamicRequestCultureProviderBase.TryAddLocked(IEnumerable<CultureInfo> supportedCultures, IEnumerable<StringSegment> cultures, object locker, Action<StringSegment> addAction)
Umbraco.Cms.Web.Common.Localization.DynamicRequestCultureProviderBase.DetermineProviderCultureResult(HttpContext httpContext)
Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
If I hand-edit the url to include a culture instead of the word ‘invariant’ then the page opens fine.
I saw a couple other users here getting this error but their recent comments were buried at the bottom of an old post: error on preview culture is not supported
Is this a setting, appsetting, machine setting that I have wrong somehow? It is happening on a new single-language umbraco v14 install so it seems out of the box this way.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114666-is-preview-broken-in-v14