Skip to content

Commit a13627f

Browse files
committed
Included UniqueKey in view models
This is required by the `_BreadCrumbs.cshtml` page's `GetBreadCrumbs()` method; without this, it throws an exception, causing error pages not to render.
1 parent 6342c91 commit a13627f

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Ignia.Topics.Tests/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
[assembly: AssemblyTrademark("")]
2222
[assembly: AssemblyCulture("")]
2323
[assembly: ComVisible(false)]
24-
[assembly: AssemblyVersion("3.5.1786.0")]
25-
[assembly: AssemblyFileVersion("3.5.1834.0")]
24+
[assembly: AssemblyVersion("3.5.1787.0")]
25+
[assembly: AssemblyFileVersion("3.5.1835.0")]
2626
[assembly: CLSCompliant(true)]
2727
[assembly: Guid("27632801-bfe3-41d9-8678-3c4bbe45e6c9")]

Ignia.Topics.Web.Mvc/Controllers/ErrorControllerBase{T}.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public virtual T CreateErrorViewModel(string key, string title) {
122122
\-----------------------------------------------------------------------------------------------------------------------*/
123123
var viewModel = new T {
124124
Key = key,
125+
UniqueKey = "Error:" + key,
125126
WebPath = "/Error/" + key,
126127
ContentType = "Page",
127128
Title = title,

Ignia.Topics.Web.Mvc/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
[assembly: AssemblyTrademark("")]
2222
[assembly: AssemblyCulture("")]
2323
[assembly: ComVisible(false)]
24-
[assembly: AssemblyVersion("3.5.1762.0")]
25-
[assembly: AssemblyFileVersion("3.5.1794.0")]
24+
[assembly: AssemblyVersion("3.5.1763.0")]
25+
[assembly: AssemblyFileVersion("3.5.1795.0")]
2626
[assembly: CLSCompliant(true)]
2727
[assembly: Guid("3b3ce34d-b5e5-47ca-bfef-e6740650f378")]

0 commit comments

Comments
 (0)