Time clock erorr 5.1.49 (task editor issue)

after update 5.1.49 - time clock, punch out action erorr


[General Info]

Application: SambaPOS
Version: 5.1.49
Region: en
DB: SQ
Machine: KASIRPC
User: kasir
Date: 14.09.2015
Time: 14:43

User Explanation:

kasir said “”

[Exception Info 1]

Top-level Exception
Type: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
Message: ‘Samba.Services.Common.AutomationCommandExecutionData’ does not contain a definition for ‘PublishEvent’
Source: Anonymously Hosted DynamicMethods Assembly
Stack Trace: at CallSite.Target(Closure , CallSite , Object , String )
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
at Samba.Modules.TaskModule.Widgets.TaskEditor.TaskEditorViewModel.ExecuteCommand(Task task, TaskCommand command, Object dataObject)
at Samba.Modules.TaskModule.Widgets.TaskEditor.TaskEditorViewModel.ExecuteCommands(IEnumerable1 commands, Task task) at Samba.Modules.TaskModule.Widgets.TaskEditor.TaskEditorViewModel.ExecuteTaskCreateCommands(Task task) at Samba.Modules.TaskModule.Widgets.TaskEditor.TaskEditorViewModel.OnAddTask(String obj) at Microsoft.Practices.Prism.Commands.DelegateCommand1.<>c__DisplayClass6.<.ctor>b__2(Object o)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.Execute(Object parameter)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
at Samba.Modules.TaskModule.Widgets.TaskEditor.TaskEditorView.TaskEditorView_OnPreviewKeyDown(Object sender, KeyEventArgs e)
at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
at System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)
at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at Samba.Presentation.App.Main()


[Assembly Info]

mscorlib, Version=4.0.0.0
DevExpress.Xpf.LayoutControl.v14.1, Version=14.1.11.0
System.Xml, Version=4.0.0.0
DevExpress.Xpf.Grid.v14.1, Version=14.1.11.0
System, Version=4.0.0.0
DevExpress.Xpf.Grid.v14.1.Core, Version=14.1.11.0
WindowsBase, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
Samba.Domain, Version=1.0.0.0
System.Core, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Runtime.Serialization, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.11.0
Samba.Services, Version=1.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
System.Windows.Forms, Version=4.0.0.0
System.Drawing, Version=4.0.0.0
Stateless, Version=1.0.0.0
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=1.0.0.0
ReachFramework, Version=4.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
EntityFramework, Version=6.0.0.0
FluentValidation, Version=3.4.0.0
Omu.ValueInjecter, Version=2.3.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Microsoft.CSharp, Version=4.0.0.0
Samba.Persistance, Version=1.0.0.0


[System Info]

Operating System
-Microsoft Windows 7 Ultimate
–CodeSet = 1251
–CSDVersion = Service Pack 1
–CurrentTimeZone = 180
–FreePhysicalMemory = 2773088
–OSArchitecture = 64-bit
–OSLanguage = 1049
–ServicePackMajorVersion = 1
–ServicePackMinorVersion = 0
–Version = 6.1.7601

Machine
-KASIRPC
–Manufacturer = To Be Filled By O.E.M.
–Model = To Be Filled By O.E.M.
–TotalPhysicalMemory = 3734650880
–UserName = kasirPC\kasir


the settings do not change anything, just updated the program from 5.1.43 to 5.1.49

I suppose “task editor” dont play "[:CommandValue]

i change “task editor” on “editor widget” - work good!

It’s a bug with task widget right now. Emre is probably changing it. To be honest the editor widget is better for that. I would have used it back when I made the time clock if it was available.

1 Like

Im Having same problem, you change - what- to work good. Can you be more specific, Thanks :smile:

in time clock screen, add “editor widget” and save Command name “Time Punch”

“Task widget” - you can remove.

2 Likes

I’m refreshing 5.1.50 in beta group right now. Task widget should work without issues.

I had same issue too, changed to Editor Widget, but it doesn’t focus automatically when you go to Time Clock screen. I mean, I have to click once on the editor widget first before can enter the ID by keyboard or on screen keyboard.

With task widget, it was focused already on the field.

As I changed already to editor widget and don’t want to immediately upgrade to .50, anything I can do to have same on editor widget?

There is a better option actually. First are you using the custom navigation buttons or the Old navigation screen?

Right now this one is just using old navigation screen

I’ll demonstrate my idea in a bit. It uses custom navigation screen.

Ok @markjw sorry for waiting so long. Basically it uses a custom navigation button to show a popup for the Time Clock entry. Here is a video of it. That simple navigation button is easy to do if that sounds interesting I can show you how to build that.

You might also want to look at this Tutorial: I am finishing up the looks and COPY Paste part of rules but the tutorial is complete.