Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steffen Lyng Jaques 1 post 21 karma points
    Mar 21, 2012 @ 23:34
    Steffen Lyng Jaques
    0

    Error when uploading images with non-ASCII (special) characters

    Hi

    I was attempting to upload an graphics file with special characters ( æ ø å ) in the filename and got the belog error. I tested with several other file-names (edge-cases), and it seems that non-ASCII characters cause this (and other) errors when uploading.

     

     

    Exception occurred

    An error occurred while processing your request.

     

    Exception

    Cannot parse 'storage://file-uploader/p__file-uploader/v__string/5bc2cd85297440329c61bf1e64e67960$!Nuvårendeforside.PNG' as a HiveId

    Stack trace

    at Umbraco.Framework.HiveId.Parse(String formattedValue) at Umbraco.Framework.Persistence.RelationSerializer.FromXml(String xmlString) at Umbraco.Hive.Providers.IO.EntityRepository.GetRelationsByPattern(String searchPattern) at Umbraco.Hive.Providers.IO.EntityRepository.GetChildRelations(HiveId parentId, FileSystemInfo fileInfo) at Umbraco.Hive.Providers.IO.EntityRepository.PerformGetChildRelations(HiveId parentId, RelationType relationType) at Umbraco.Hive.ProviderSupport.AbstractReadonlyEntityRepository.<>c__DisplayClass16.<GetChildRelations>b__15() at Umbraco.Framework.Caching.CacheProviderExtensions.<>c__DisplayClass1`1.<GetOrCreate>b__0() at Umbraco.Framework.Caching.AbstractCacheProvider.GetOrCreate[T](CacheKey key, Func`1 callback) at Umbraco.Hive.ProviderSupport.AbstractReadonlyEntityRepository.GetChildRelations(HiveId parentId, RelationType relationType) at Umbraco.Hive.ProviderGrouping.RepositoryGroupExtensions.GetChildRelations(IEnumerable`1 session, HiveId parentId, Uri idRoot, RelationType relationType) at Umbraco.Hive.ProviderGrouping.ReadonlyEntityRepositoryGroup`1.GetChildRelations(HiveId parentId, RelationType relationType) at Umbraco.Hive.ProviderGrouping.RepositoryGroupExtensions.GetLazyChildRelations[T](ICoreReadonlyRepository`1 readonlyRepository, HiveId parentId, RelationType relationType) at Umbraco.Cms.Web.UrlHelperExtensions.GetMediaUrl(UrlHelper url, TypedEntity entity, String propertyAlias, Int32 size) at Umbraco.Cms.Web.UrlHelperExtensions.GetMediaUrl(UrlHelper url, HiveId id, String propertyAlias, Int32 size) at ASP._Page_EV_axd_EditorTemplates__EV_B7F87D6F58049AADCCA4B78F817E7EF7_UploadEditor__cshtml.Execute() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\775fc94f\ea180ce0\App_Web__ev_b7f87d6f58049aadcca4b78f817e7ef7(uploadeditor).cshtml.542d2575.ihyykbia.0.cs:line 0 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.Html.TemplateHelpers.ExecuteTemplate(HtmlHelper html, ViewDataDictionary viewData, String templateName, DataBoundControlMode mode, GetViewNamesDelegate getViewNames, GetDefaultActionsDelegate getDefaultActions) at System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData, ExecuteTemplateDelegate executeTemplate) at System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData) at System.Web.Mvc.Html.TemplateHelpers.TemplateFor[TContainer,TValue](HtmlHelper`1 html, Expression`1 expression, String templateName, String htmlFieldName, DataBoundControlMode mode, Object additionalViewData) at System.Web.Mvc.Html.EditorExtensions.EditorFor[TModel,TValue](HtmlHelper`1 html, Expression`1 expression, String templateName, String htmlFieldName, Object additionalViewData) at Umbraco.Cms.Web.HtmlHelperEditorExtensions.UmbEditorFor[TModel,TValue](HtmlHelper`1 html, Expression`1 labelFor, Expression`1 validationFor, Expression`1 editorFor, String viewPath, String prefix, String description, String tooltip, Boolean showUmbracoLabel, Object viewData) at ASP._Page_Areas_Umbraco_Views_Shared_EditorTemplates_ContentProperty_cshtml.Execute() in c:\WebApplications\DC.Web\Areas\Umbraco\Views\Shared\EditorTemplates\ContentProperty.cshtml:line 16 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.Html.TemplateHelpers.ExecuteTemplate(HtmlHelper html, ViewDataDictionary viewData, String templateName, DataBoundControlMode mode, GetViewNamesDelegate getViewNames, GetDefaultActionsDelegate getDefaultActions) at System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData, ExecuteTemplateDelegate executeTemplate) at System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData) at System.Web.Mvc.Html.TemplateHelpers.TemplateFor[TContainer,TValue](HtmlHelper`1 html, Expression`1 expression, String templateName, String htmlFieldName, DataBoundControlMode mode, Object additionalViewData) at System.Web.Mvc.Html.EditorExtensions.EditorFor[TModel,TValue](HtmlHelper`1 html, Expression`1 expression, String templateName, String htmlFieldName) at ASP._Page_Areas_Umbraco_Views_Shared__ContentEditorLayout_cshtml.Execute() in c:\WebApplications\DC.Web\Areas\Umbraco\Views\Shared\_ContentEditorLayout.cshtml:line 52 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.WebPages.WebPageBase.Write(HelperResult result) at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) at System.Web.WebPages.WebPageBase.PopContext() 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, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies