1

Resolved

Search in content picker crashes

description

Repro: from a content item menu item, click browse and switch to the search tab. Type anything in there and hit search.

Stack trace:

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object. at Orchard.Search.Controllers.ContentPickerController.Index(PagerParameters pagerParameters, String part, String field, String searchText) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)

comments

sebastienros wrote Jul 7, 2013 at 6:17 PM

Fixed in changeset ae27cd94345e

sfmskywalker wrote Mar 28, 2014 at 1:28 AM

Fixed in changeset 5abb9f38d06b8255e033b9f4d8205115c0410d04