Changed Is404 on DocumentRequest to internal as only the DocumentRequestBuilder should set this, removed the Is404 being set in the

DefaultLastChanceLookup as lookups shouldn't set the 404.
Cleaned up ObjectExtensions TryConvertValue method.
Ensures that the routes are created before the CoreBootManager complete is called.
This commit is contained in:
Shannon Deminick
2012-09-29 07:20:23 +07:00
parent 926427ff68
commit 34e71027b3
9 changed files with 54 additions and 47 deletions

View File

@@ -157,7 +157,7 @@ namespace Umbraco.Web
// pass off to our handlers (mvc or webforms)
// assign the legacy page back to the docrequest
// handlers like default.aspx will want it
// handlers like default.aspx will want it and most macros currently need it
docreq.UmbracoPage = new page(docreq);
// these two are used by many legacy objects
@@ -360,7 +360,7 @@ namespace Umbraco.Web
/// </summary>
/// <param name="context"></param>
/// <param name="currentQuery"></param>
/// <param name="isMvc"> </param>
/// <param name="engine"> </param>
private void RewriteToUmbracoHandler(HttpContext context, string currentQuery, RenderingEngine engine)
{