Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.ContentDeliveryApi 2.3.0
EPiServer.ContentDeliveryApi 2.3.1
Dec 13, 2018
Jan 03, 2019
Closed, Fixed and tested
Steps to reproduce
1. Install an Alloy site with a HeadlessAPI.
2. In an AlloyPlan page, open an image.
3. Empty the Accept header and reload.
Expected:
Image shows successfully.
Actual:
Throws error.
[ArgumentNullException: Value cannot be null. Parameter name: source] System.Linq.Enumerable.Contains(IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer) +370 System.Linq.Enumerable.Contains(IEnumerable`1 source, TSource value) +139 EPiServer.ContentApi.Routing.ContentApiRouteService.ShouldRouteRequest(HttpRequestBase request) +52 EPiServer.ContentApi.Routing.RoutingEventHandler.RoutedContent(Object sender, RoutingEventArgs e) +65 System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0 EPiServer.Web.Routing.Internal.DefaultContentRouteEvents.OnRoutedContent(Object sender, RoutingEventArgs routingEventArgs) +21 EPiServer.Web.Routing.Internal.DefaultContentRoute.OnRoutedContent(RoutingEventArgs routingEventArgs) +17 EPiServer.Web.Routing.Internal.DefaultContentRoute.GetRouteData(HttpContextBase httpContext) +431 System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +200 System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +59 System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +82 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +200 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +132 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73