diff --git a/src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js b/src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js index 1c28654a1a..ca89f7824b 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js @@ -225,8 +225,10 @@ function navigationService($routeParams, $location, $q, $injector, eventsService retainQueryStrings: function (currRouteParams, nextRouteParams) { var toRetain = angular.copy(nextRouteParams); var updated = false; + _.each(retainedQueryStrings, function (r) { - if (currRouteParams[r] && !nextRouteParams[r]) { + // if mculture is set to null in nextRouteParams, the value will be undefined and we will not retain any query string that has a value of "null" + if (currRouteParams[r] && nextRouteParams[r] !== undefined && !nextRouteParams[r]) { toRetain[r] = currRouteParams[r]; updated = true; } diff --git a/src/Umbraco.Web/Cache/LanguageCacheRefresher.cs b/src/Umbraco.Web/Cache/LanguageCacheRefresher.cs index 9093124609..b3df913ad6 100644 --- a/src/Umbraco.Web/Cache/LanguageCacheRefresher.cs +++ b/src/Umbraco.Web/Cache/LanguageCacheRefresher.cs @@ -45,6 +45,8 @@ namespace Umbraco.Web.Cache ClearAllIsolatedCacheByEntityType(); //if a language is removed, then all dictionary cache needs to be removed ClearAllIsolatedCacheByEntityType(); + // clear since each IContent contains a reference to a string culture + ClearAllIsolatedCacheByEntityType(); RefreshDomains(id); base.Remove(id); }