...

Ошибка при открытии календаря

Тема в разделе "Проблемы/ошибки", создана пользователем ravils, 28 мар 2018.

Метки:
  1. ravils

    ravils New Member

    Добрый день!
    При нажатии на "Календарь" выходит ошибка:
    System.ArgumentException: Некорректно заданы параметры интервала: начальная точка интервала - 23:00:00, конечная точка интервала - 04:00:00)
    at EleWise.ELMA.Calendar.Models.TimeInterval..ctor(TimeSpan start, TimeSpan end, Int32 aggregationPriority)
    at EleWise.ELMA.BPM.Web.Calendar.Models.ConfigDataModel.<.ctor>b__1(IBaseTimeInterval bi)
    at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
    at System.Linq.OrderedEnumerable`1.d__1.MoveNext()
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    at EleWise.ELMA.BPM.Web.Calendar.Models.ConfigDataModel.SimpleModeDataByCustomWorkingDayInitialize(IEnumerable`1 timeIntervalCollection)
    at EleWise.ELMA.BPM.Web.Calendar.Models.ConfigDataModel..ctor(IEnumerable`1 baseTimeIntervalCollection)
    at EleWise.ELMA.BPM.Web.Calendar.Models.ProductionScheduleConfigModel..ctor(IResourceCalendar productionSchedule)
    at ASP._Page_Modules_EleWise_ELMA_BPM_Web_Calendar_Views_Scheduler_Controls_FullCalendar_cshtml.Execute()
    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
    at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
    at EleWise.ELMA.Web.Orchard.Mvc.ViewEngines.Razor.CachedRazorView.RenderView(ViewContext viewContext, TextWriter writer)
    at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
    at ASP._Page_Modules_EleWise_ELMA_BPM_Web_Calendar_Views_Scheduler_Index_cshtml.Execute()
    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
    at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
    at EleWise.ELMA.Web.Orchard.Mvc.ViewEngines.Razor.CachedRazorView.RenderView(ViewContext viewContext, TextWriter writer)
    at Orchard.Mvc.ViewEngines.ThemeAwareness.LayoutAwareViewEngine.<>c__DisplayClass7.b__5(ViewContext viewContext, TextWriter writer, IViewDataContainer viewDataContainer)
    at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.b__17()
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
    at System.Web.Mvc.Controller.ExecuteCore()
    at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
    at System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext)
    at Orchard.Mvc.Routes.ShellRoute.HttpHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    А где поправить интервалы?
     
  2. lyashek.s

    lyashek.s New Member

    Добрый!
    По всей видимости настройки рабочего времени в глобальном или общем календаре. Проверьте в Администрирование-> Календари. Воспроизвести мне не удалось.
     
  3. ravils

    ravils New Member

    Так ошибка и выходит когда пытаюсь зайти по указанному пути.
    Администрирование-> Календари
     
  4. lyashek.s

    lyashek.s New Member

    PostgreSQL
    Попробуйте так
    SELECT id, uid, "Start", finish, calendar FROM public.basetimeinterval;
     

Поделиться: