Skip to content

Commit 9534962

Browse files
committed
Some bug fixes (3.2.2.3)
1 parent 9218c7e commit 9534962

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

BlogEngine/BlogEngine.Core/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
[assembly: CLSCompliant(false)]
2020
[assembly: ComVisible(false)]
2121
[assembly: AllowPartiallyTrustedCallers]
22-
[assembly: AssemblyVersion("3.2.2.2")]
22+
[assembly: AssemblyVersion("3.2.2.3")]
2323
[assembly: SecurityRules(SecurityRuleSet.Level1)]

BlogEngine/BlogEngine.Core/Providers/DbProvider/DbRoleProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ public override void CreateRole(string roleName)
139139
}
140140

141141
// This needs to be called in order to keep the Right class in sync.
142+
// SQL Server on slow connections need few seconds to complete query
143+
System.Threading.Thread.Sleep(5000);
142144
Right.RefreshAllRights();
143145
}
144146

BlogEngine/BlogEngine.NET/AppCode/Api/DashboardController.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
using App_Code;
2-
using BlogEngine.Core.Data.Contracts;
1+
using BlogEngine.Core.Data.Contracts;
32
using BlogEngine.Core.Data.ViewModels;
4-
using System.Net;
53
using System.Web.Http;
64

75
public class DashboardController : ApiController
@@ -10,9 +8,6 @@ public class DashboardController : ApiController
108

119
public DashboardController(IDashboardRepository repository)
1210
{
13-
if (!WebUtils.CheckRightsForAdminSettingsPage(true))
14-
throw new HttpResponseException(HttpStatusCode.Unauthorized);
15-
1611
this.repository = repository;
1712
}
1813

BlogEngine/BlogEngine.NET/Custom/Widgets/Newsletter/widget.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
showForm = true;
2525
}
2626
}
27-
<div class="widget recentcomments">
27+
<div class="widget newsletter">
2828
<h4 class="widget-header">@Model.Title</h4>
2929
<div class="widget-content" style="padding: 20px">
3030
@if (showThanks)

0 commit comments

Comments
 (0)