2

Closed

too long product name in URL causes exception :-)

description

Here's the product URL causing problem:

http://ksiegarniainternetowa.de/p/105032/opisanie-krotkie-niektorych-interessow-wewnetrznych-najjasniejszej-rzeczypospolitej-polskiej-w-roku-1762-traktowanych-z-francuzkiego-jezyka-na-polski-przelozone-za-pozwoleniem-zwierzchnosci-w-drukarni-miclerowskiej-wydane-rp-1764

It is a really verbose actual title of 1762 book reprint :-). It's overloading the mapper. I think there needs to be a limit on how long the URL generated by Nop can be ..


Id LogLevelId ShortMessage FullMessage IpAddress CustomerId PageUrl ReferrerUrl CreatedOnUtc
34772 40 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at System.IO.PathHelper.GetFullPathName() at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength) at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) at System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) at System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) at ASP._Page_Views_Catalog_ProductTemplate_SingleVariant_Bookstore_cshtml.Execute() in c:\Dropbox\Bookstore Server\PKI.de\Views\Catalog\ProductTemplate.SingleVariant.Bookstore.cshtml:line 56 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.StartPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) at System.Web.Mvc.Controller.ExecuteCore() at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0() at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 66.249.71.2 727644 http://ksiegarniainternetowa.de/p/105032/opisanie-krotkie-niektorych-interessow-wewnetrznych-najjasniejszej-rzeczypospolitej-polskiej-w-roku-1762-traktowanych-z-francuzkiego-jezyka-na-polski-przelozone-za-pozwoleniem-zwierzchnosci-w-drukarni-miclerowskiej-wydane-rp-1764 2012-05-25 10:29:07.953


[AM]
YOu can always edit search engine friendly name on SEO tab
Closed Nov 4, 2013 at 3:57 PM by AndreyMaz
Done

comments

fkierzek wrote May 31, 2012 at 9:13 AM

I forgot to mention that the jibrish on the bottom is taken from log table - sorry I don't really know how to COPY + Paste that in a nice way..