5.1 - Unable to upload content with non-ascii letters
I have an upload field on a document. When I upload an image with Danish letters I get the error below, and the node becomes unavailable and I have to delete it. Uploading ascii-only images work fine.
Umbraco 5.1 (Assembly version: 5.1.0.175)
Exception
Cannot parse 'storage://file-uploader/p__file-uploader/v__string/f179e116a5bf4f21b8b1715a09aedcd0$!Hopla_Rødtgræs.jpg' 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](String 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\4c40e8ff\8b85ff2b\App_Web__ev_b7f87d6f58049aadcca4b78f817e7ef7(uploadeditor).cshtml.542d2575.fraegloa.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 d:\www\privatshpl.dk\test\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 d:\www\privatshpl.dk\test\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.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)
5.1 - Unable to upload content with non-ascii letters
I have an upload field on a document. When I upload an image with Danish letters I get the error below, and the node becomes unavailable and I have to delete it. Uploading ascii-only images work fine.
Umbraco 5.1 (Assembly version: 5.1.0.175)
Exception
Stack trace
Manually removing the matching entry in the AttributeStringValue table makes the content node accessible again.
is working on a reply...