Skocz do zawartości

Błąd programu podczas edycji formy płatności w procesie ofertowym.

Polecane posty

Dzień dobry.
 

Po aktualizacji Gestora z wersji 45 do obecnej 49 występuje błąd programu, kroki potrzebne do odtworzenia procesu:

 

[Procesy ofertowe]
1. Klikamy Dodaj -> Proces ofertowy sprzedaży

2. Przechodzimy na zakładkę Realizacja ofert

3. Klikamy na forma płatności oraz zmień:
image.png.6c901545193ef8f1e3fdfd350b16e003.png

4. Pojawia otwiera się oferta z błędem (dodatkowo gdy jest uzupełniony klient i płatnik to te pola zostają wyczyszczone):
image.thumb.png.89831183eb9eddf0b335f38606d34ef2.png

Komunikat błędu:

System.InvalidCastException: Nie można rzutować obiektu typu 'InsERT.Moria.Logistyka.UI.OEFlow' na typ 'InsERT.Moria.BusinessResources.ObjectWithCustomGroupsFlowServicePart'.
   w InsERT.Moria.Logistyka.UI.OEService.OnViewAttached()
   w InsERT.Mox.WpfControls.ViewModelContainerControl.OnViewAttached(FrameworkElement fe, ViewModelBase viewModel)
   w InsERT.Mox.WpfControls.ViewModelContainerControl.<>c__DisplayClass40_0.<InitializeViewModelBase>b__0(Object s, RoutedEventArgs e)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   w System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   w System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   w MS.Internal.LoadedOrUnloadedOperation.DoWork()
   w System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   w System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   w System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   w System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

EnvironmentStackTrace:
   w System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   w System.Environment.get_StackTrace()
   w InsERT.Mox.Helpers.Ferf.AnalyzedException..ctor(Exception exception)
   w InsERT.Mox.UIFramework.ErrorContext..ctor(Exception exception, String dumpFilePath, Stream screenCapture)
   w InsERT.Moria.Startup.UI.NerfSupport.ShowFerfWindow(Exception exception, String dumpFile, Boolean newThread)
   w InsERT.Moria.Startup.UI.NerfSupport.HandleUsingFerf(Exception exception)
   w InsERT.Moria.Startup.UI.NerfSupport.ProcessUnhandledException(Exception exception)
   w InsERT.Moria.Startup.UI.NerfSupport.Dispatcher_UnhandledExceptionFilter(Object sender, DispatcherUnhandledExceptionFilterEventArgs e)
   w System.Windows.Threading.Dispatcher.ExceptionFilter(Exception e)
   w System.Windows.Threading.Dispatcher.ExceptionFilterStatic(Object source, Exception e)
   w System.Windows.Threading.ExceptionWrapper.FilterException(Object source, Exception e)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   w InsERT.Moria.Logistyka.UI.OEService.OnViewAttached()
   w InsERT.Mox.WpfControls.ViewModelContainerControl.OnViewAttached(FrameworkElement fe, ViewModelBase viewModel)
   w InsERT.Mox.WpfControls.ViewModelContainerControl.<>c__DisplayClass40_0.<InitializeViewModelBase>b__0(Object s, RoutedEventArgs e)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   w System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   w System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   w MS.Internal.LoadedOrUnloadedOperation.DoWork()
   w System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   w System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   w System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   w System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   w System.Windows.Threading.DispatcherOperation.InvokeImpl()
   w System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   w MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   w System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   w MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   w System.Windows.Threading.DispatcherOperation.Invoke()
   w System.Windows.Threading.Dispatcher.ProcessQueue()
   w System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   w System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   w MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   w MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   w System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   w System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   w System.Windows.Window.ShowHelper(Object booleanBox)
   w System.Windows.Window.Show()
   w System.Windows.Window.ShowDialog()
   w InsERT.Moria.Startup.UI.NexoAppBase.Go()
   w InsERT.Moria.Gestor.GestorApp.Main(String[] args)


 

Link to postu
  • 1 miesiąc temu...
×
×
  • Dodaj nową pozycję...