The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 749 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 749 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(956) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/global.php(956) : eval()'d code 34 errorHandler->error
/global.php 956 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1021 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 1021 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/inc/functions.php 5233 build_theme_select
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forum
Automatic scheduler didn't create all return flights - Printable Version

+- Forum (https://theairlineproject.net/forum)
+-- Forum: Downloads (https://theairlineproject.net/forum/forumdisplay.php?fid=5)
+--- Forum: Bug Reporting (https://theairlineproject.net/forum/forumdisplay.php?fid=9)
+---- Forum: Bug Archive (https://theairlineproject.net/forum/forumdisplay.php?fid=24)
+---- Thread: Automatic scheduler didn't create all return flights (/showthread.php?tid=1297)



Automatic scheduler didn't create all return flights - Tjoeker - 01-02-2018

While trying to reproduce Pico's bug, I found another bug.
I don't exactly what happened there.

I scheduled 3 weekly flights between Athens and Budapest, with the auto-schedule option for the return flight on.

It only created the return flight for the first flight (Monday).

Then when I tried to remove the flights it did create (because I wanted to try it again) the game crashed.

Here is the crash report:

Code:
2/01/2018: 16:29 System.Collections.Generic.KeyNotFoundException: De gegeven sleutel is niet aanwezig in het woordenboek.
   bij System.ThrowHelper.ThrowKeyNotFoundException()
   bij System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   bij TheAirlineProjectV2.Modules.Routes.ViewModels.RoutesAirlinersViewModel.removeEntry(RouteSchedulerItem entry) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\ViewModels\RoutesAirlinersViewModel.cs:regel 365
   bij TheAirlineProjectV2.Modules.Routes.Views.RoutesAirlinersWindow.Timeline_ElementDeleted(String uid) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\Views\RoutesAirlinersWindow.xaml.cs:regel 54
   bij TheAirlineProjectV2.GraphicsControls.Controls.TimelineControls.Timeline.Te_MouseRightButtonDown(Object sender, MouseButtonEventArgs e) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.GraphicsControls\Controls\TimelineControls\Timeline.xaml.cs:regel 111
   bij System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   bij System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   bij System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   bij System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
   bij System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   bij System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   bij System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   bij System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   bij System.Windows.Input.InputManager.ProcessStagingArea()
   bij System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   bij System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   bij System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   bij System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bij System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bij MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bij MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bij System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bij System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bij System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   bij MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   bij MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   bij System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   bij System.Windows.Application.RunDispatcher(Object ignore)
   bij System.Windows.Application.RunInternal(Window window)
   bij TheAirlineProjectV2.App.Main()



RE: Automatic scheduler didn't create all return flights - pjank42 - 01-04-2018

I noticed a general issue which could cause this issue so that have been fixed now