From b4d88b0361f203bcbb8ad16bbad9d4be600f64a3 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Wed, 29 May 2013 03:44:01 -0200 Subject: [PATCH] U4-2279 TryGetRouteDefinitionFromAncestorViewContexts has infinite loop when currentContext doesnt contain umbraco-route-def --- src/Umbraco.Web/Mvc/SurfaceController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Mvc/SurfaceController.cs b/src/Umbraco.Web/Mvc/SurfaceController.cs index 0e0b7b5827..5888ea0bc6 100644 --- a/src/Umbraco.Web/Mvc/SurfaceController.cs +++ b/src/Umbraco.Web/Mvc/SurfaceController.cs @@ -114,7 +114,7 @@ namespace Umbraco.Web.Mvc else { //exit the loop - currentRouteData = null; + currentContext = null; } } return new Attempt(