Fixed #5140 Recipe from Migrations didn't work

This commit is contained in:
Sergio Navarro
2015-07-25 08:54:31 +02:00
parent ea91185816
commit 8a8b0f91c6

View File

@@ -143,6 +143,10 @@ namespace Orchard.Environment {
catch (Exception e) {
Logger.Error(e, "A tenant could not be started: " + settings.Name);
}
while (_processingEngine.AreTasksPending()) {
Logger.Debug("Processing pending task after activate Shell");
_processingEngine.ExecuteNextTask();
}
});
}
// no settings, run the Setup