Copied to clipboard

Flag this post as spam?

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


  • khaled mohamed 6 posts 116 karma points
    Jun 21, 2020 @ 05:18
    khaled mohamed
    0

    Error When chhose image from Media picker The relation type umbMedia does not exist

    Error When chhose image from Media picker The relation type umbMedia does not exist

    i can uplaod image. and save i can save any data Except data return from Media picker

    throw Server error: Contact administrator, see log for full details. The relation type umbMedia does not exist

    ///////// ِerror log {"@t":"2020-06-21T05:15:23.6910427Z","@mt":"Document {ContentName} (id={ContentId}) has been published.","ContentName":"ddddd","ContentId":1206,"SourceContext":"Umbraco.Core.Services.Implement.ContentService","ProcessId":57848,"ProcessName":"w3wp","ThreadId":137,"AppDomainId":8,"AppDomainAppId":"LMW3SVC1074504811ROOT","MachineName":"WIN5145","Log4NetLevel":"INFO ","HttpRequestNumber":9,"HttpRequestId":"1b2280aa-6a86-4b59-87ae-86065dcc6807"} {"@t":"2020-06-21T05:15:23.7222928Z","@mt":"Unhandled controller exception occurred for request '{RequestUrl}'","@l":"Error","@x":"System.InvalidOperationException: The relation type umbMedia does not exist\r\n at Umbraco.Core.Persistence.Repositories.Implement.ContentRepositoryBase3.<>c__DisplayClass66_0.<PersistRelations>b__10(UmbracoEntityReference rel)\r\n at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()\r\n at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()\r\n at System.Linq.Lookup2.Create[TSource](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)\r\n at System.Linq.GroupedEnumerable3.GetEnumerator()\r\n at Umbraco.Core.Persistence.Repositories.Implement.RelationRepository.Save(IEnumerable1 relations)\r\n at Umbraco.Core.Persistence.Repositories.Implement.ContentRepositoryBase3.PersistRelations(TEntity entity)\r\n at Umbraco.Core.Persistence.Repositories.Implement.DocumentRepository.PersistUpdatedItem(IContent entity)\r\n at Umbraco.Core.Cache.DefaultRepositoryCachePolicy2.Update(TEntity entity, Action1 persistUpdated)\r\n at Umbraco.Core.Persistence.Repositories.Implement.RepositoryBase2.Save(TEntity entity)\r\n at Umbraco.Core.Services.Implement.ContentService.<>cDisplayClass57_0.SaveDocument|2(IContent c)\r\n at Umbraco.Core.Services.Implement.ContentService.CommitDocumentChangesInternal(IScope scope, IContent content, ContentSavingEventArgs saveEventArgs, IReadOnlyCollection1 allLangs, Int32 userId, Boolean raiseEvents, Boolean branchOne, Boolean branchRoot)\r\n at Umbraco.Core.Services.Implement.ContentService.SaveAndPublish(IContent content, String culture, Int32 userId, Boolean raiseEvents)\r\n at Umbraco.Web.Editors.ContentController.PublishInternal(ContentItemSave contentItem, String defaultCulture, String cultureForInvariantErrors, Boolean& wasCancelled, String[]& successfulCultures)\r\n at Umbraco.Web.Editors.ContentController.PostSaveInternal(ContentItemSave contentItem, Func2 saveMethod, Func2 mapToDisplay)\r\n at Umbraco.Web.Editors.ContentController.PostSave(ContentItemSave contentItem)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.

  • khaled mohamed 6 posts 116 karma points
    Jun 21, 2020 @ 09:18
    khaled mohamed
    100

    i Fixed

    Need Create relation type with name "umbMedia". from setting under relation type node

Please Sign in or register to post replies

Write your reply to:

Draft