Copied to clipboard

Flag this post as spam?

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


  • Mikkel Hansen 10 posts 80 karma points
    Jul 31, 2020 @ 09:28
    Mikkel Hansen
    0

    DTGE error when using multiple grid layouts in same grid

    Hi,

    Using a freshly installed Umbraco CMS 8.6.3 with Doc Type Grid Editor 1.2.3.

    I'm getting the following error, when trying to save a content page containing a grid with multiple grid layouts without choosing a layout.

    "Object reference not set to an instance of an object."

    enter image description here

    Please see below for a copy of the stacktrace:

    Exception
    
    System.NullReferenceException: Object reference not set to an instance of an object.
       ved Our.Umbraco.DocTypeGridEditor.ValueProcessing.DocTypeGridEditorDataValueReference.DeserializeGridValue(String rawJson, IEnumerable`1& dtgeValues)
       ved Our.Umbraco.DocTypeGridEditor.ValueProcessing.DocTypeGridEditorDataValueReference.GetReferences(Object value)
       ved Umbraco.Core.PropertyEditors.DataValueReferenceFactoryCollection.GetAllReferences(PropertyCollection properties, PropertyEditorCollection propertyEditors) i d:\a\1\s\src\Umbraco.Core\PropertyEditors\DataValueReferenceFactoryCollection.cs:linje 48
       ved Umbraco.Core.Persistence.Repositories.Implement.ContentRepositoryBase`3.PersistRelations(TEntity entity) i d:\a\1\s\src\Umbraco.Core\Persistence\Repositories\Implement\ContentRepositoryBase.cs:linje 829
       ved Umbraco.Core.Persistence.Repositories.Implement.DocumentRepository.PersistUpdatedItem(IContent entity) i d:\a\1\s\src\Umbraco.Core\Persistence\Repositories\Implement\DocumentRepository.cs:linje 708
       ved Umbraco.Core.Cache.DefaultRepositoryCachePolicy`2.Update(TEntity entity, Action`1 persistUpdated) i d:\a\1\s\src\Umbraco.Core\Cache\DefaultRepositoryCachePolicy.cs:linje 128
       ved Umbraco.Core.Persistence.Repositories.Implement.RepositoryBase`2.Save(TEntity entity) i d:\a\1\s\src\Umbraco.Core\Persistence\Repositories\Implement\RepositoryBaseOfTIdTEntity.cs:linje 140
       ved Umbraco.Core.Services.Implement.ContentService.Save(IContent content, Int32 userId, Boolean raiseEvents) i d:\a\1\s\src\Umbraco.Core\Services\Implement\ContentService.cs:linje 791
       ved Umbraco.Web.Editors.ContentController.<>c__DisplayClass29_0.<PostSave>b__0(IContent content) i d:\a\1\s\src\Umbraco.Web\Editors\ContentController.cs:linje 601
       ved Umbraco.Web.Editors.ContentController.SaveAndNotify(ContentItemSave contentItem, Func`2 saveMethod, Int32 variantCount, Dictionary`2 notifications, SimpleNotificationModel globalNotifications, String invariantSavedLocalizationKey, String variantSavedLocalizationKey, String cultureForInvariantErrors, Boolean& wasCancelled) i d:\a\1\s\src\Umbraco.Web\Editors\ContentController.cs:linje 893
       ved Umbraco.Web.Editors.ContentController.PostSaveInternal(ContentItemSave contentItem, Func`2 saveMethod, Func`2 mapToDisplay) i d:\a\1\s\src\Umbraco.Web\Editors\ContentController.cs:linje 688
       ved Umbraco.Web.Editors.ContentController.PostSave(ContentItemSave contentItem) i d:\a\1\s\src\Umbraco.Web\Editors\ContentController.cs:linje 599
       ved lambda_method(Closure , Object , Object[] )
       ved System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
       ved System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
       ved System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
    

    I'd would be grateful for any help.

  • Bo Jacobsen 610 posts 2409 karma points
    Aug 03, 2020 @ 10:15
    Bo Jacobsen
    0

    Maybe we should open an issue, if no one knows anything?

  • Bo Jacobsen 610 posts 2409 karma points
    Aug 19, 2020 @ 08:37
  • 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