From 030dd9331ec0c2ab1cbe62d8778d40dd872857b6 Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Thu, 3 Feb 2011 14:38:42 -0800 Subject: [PATCH] #17211 // Setting the database preconfiguration state on a failed setup POST ...so the tenant setup process doesn't include the database-related fields when there's nothing they can do with them. work item: 17211 --HG-- branch : dev --- .../Modules/Orchard.Setup/Controllers/SetupController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs b/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs index 65c223769..6d3398ff4 100644 --- a/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs +++ b/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs @@ -62,6 +62,7 @@ namespace Orchard.Setup.Controllers { } if (!ModelState.IsValid) { + model.DatabaseIsPreconfigured = !string.IsNullOrEmpty(_setupService.Prime().DataProvider); return IndexViewResult(model); }