I'm working with a snippet that has a class that can be applied to it to make it full width. This snippet represents a carousel with some predefined slides. Upon creating it, things look fine in the default state. Once I apply the global class at the top level, the slide has it's Page Content
rendering stripped which cannot be reapplied through ee which says an error occurred. Interestingly enough, I am also not able to reset the final layout after this happens due to the same error. Viewing the snippet in the shared layout shows the page content rendering as it should kind of pointing to the rendering being alright as far as I can tell. In the logs I see the following error:
4432 11:35:23 ERROR One or more exceptions occurred while processing the subscribers to the 'item:saving' event.
Exception: System.AggregateException
Message: One or more exceptions occurred while processing the subscribers to the 'item:saving' event.
Source: Sitecore.Kernel
at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)
at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)
at Sitecore.Events.Event.RaiseItemSaving(Object sender, ItemSavingEventArgs args)
at Sitecore.Events.Event.DataEngine_ItemSaving(Object sender, ExecutingEventArgs`1 e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)
at Sitecore.Data.Engines.EngineCommand`2.RaiseExecuting(Boolean& cancelled)
at Sitecore.Data.Engines.EngineCommand`2.CanExecute()
at Sitecore.Data.Engines.EngineCommand`2.Execute()
at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)
at Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args)
at (Object , Object )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item)
at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)
at Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent)
at Sitecore.Data.Items.ItemUtil.ResetLayoutDetails(Item item, Boolean resetShared, ResetFinalLayoutOptions resetFinal)
at Sitecore.ExperienceEditor.Speak.Ribbon.Requests.ResetLayout.Execute.ProcessRequest()
at Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs requestArgs)
Nested Exception
Exception: System.ArgumentNullException
Message: Value cannot be null.
Parameter name: jsonLayout
Source: Sitecore.Kernel
at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)
at Sitecore.Web.WebEditUtil.ConvertJSONLayoutToXML(String jsonLayout)
at Sitecore.XA.Feature.Composites.EventHandlers.SaveCompositeItems.GetNewLayoutFromRequest(String newlayout)
at Sitecore.XA.Feature.Composites.EventHandlers.SaveCompositeItems.PropagateLayoutChanges(Item item)
at Sitecore.XA.Feature.Composites.EventHandlers.SaveCompositeItems.OnItemSaving(Object sender, EventArgs args)
at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)
The json device for the page with the snippet has its layout set to JSONLayout. There are no renderings in that device but this is consistent with other pages for the site. I've tried removing the layout in the json device to see if that would change anything but no dice. Any info about this would be appreciated.
Sitecore version: 9.3.0 (rev. 003498)