@JTRTech wrote:
Not really an issue, but have noticed incorrect color codes elsewhere are just ignored.
Put an extra l in Yellow for Background colour and get this error on Ask Question firing.
Not sure if this is something you wanted to patch.----------------------------- [General Info] Application: SambaPOS Version: 5.1.54 Region: en DB: SQ Machine: JTR-PC User: JTR Date: 31/10/2015 Time: 20:13 User Explanation: JTR said "" ----------------------------- [Exception Info 1] Top-level Exception Type: System.Reflection.TargetInvocationException Message: Exception has been thrown by the target of an invocation. Source: mscorlib Stack Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Delegate.DynamicInvokeImpl(Object[] args) 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.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(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() Inner Exception 1 Type: System.Reflection.TargetInvocationException Message: Exception has been thrown by the target of an invocation. Source: mscorlib Stack Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Delegate.DynamicInvokeImpl(Object[] args) 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.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at Samba.Presentation.Services.Common.ExtensionMethods.PublishEvent[TEventSubject](TEventSubject eventArgs, String eventTopic, Boolean wait) at Samba.Presentation.Services.Implementations.AutomationModule.NotificationClient.<>c.<NotifyEvent>b__3_0(ActionData x) at Samba.Services.Implementations.AutomationModule.ActionDataBuilder.InvokeFor(Action`1 dataAction) at CallSite.Target(Closure , CallSite , Object , Action`1 ) at Samba.Services.Implementations.AutomationModule.RuleExecutor.ExecuteWithoutLogging(Object dataParameter, Action`1 dataAction) at Samba.Services.Implementations.AutomationModule.RuleExecutor.ExecuteWith(Object dataParameter, Action`1 dataAction) at Samba.Services.Implementations.AutomationModule.NotificationService.NotifyEvent(String eventName, Object dataParameter, Int32 terminalId, Int32 departmentId, Int32 userRoleId, Int32 ticketTypeId, Action`1 dataAction) at Samba.Presentation.Services.Implementations.AutomationModule.NotificationClient.NotifyEvent(String eventName, Object dataObject) at Samba.Modules.PosModule.TicketViewModel.ExecuteAutomationCommand(String automationCommandName, String automationCommandValue, String nextCommandValue, Boolean executeOnce, Boolean clearSelection) at Samba.Modules.PosModule.TicketViewModel.OnExternalCommandExecuted(EventParameters`1 obj) at Microsoft.Practices.Prism.Events.EventSubscription`1.InvokeAction(Action`1 action, TPayload argument) at Microsoft.Practices.Prism.Events.EventSubscription`1.<>c__DisplayClass2.<GetExecutionStrategy>b__0(Object[] arguments) at Microsoft.Practices.Prism.Events.EventBase.InternalPublish(Object[] arguments) at Microsoft.Practices.Prism.Events.CompositePresentationEvent`1.Publish(TPayload payload) at Samba.Presentation.Services.Common.ExtensionMethods.Publish[TEventsubject](TEventsubject eventArgs, String eventTopic, Action expectedAction) Inner Exception 2 Type: System.FormatException Message: Token is not valid. Source: PresentationCore Stack Trace: at MS.Internal.Parsers.ParseColor(String color, IFormatProvider formatProvider, ITypeDescriptorContext context) at System.Windows.Media.ColorConverter.ConvertFromString(String value) at Samba.Presentation.Controls.Interaction.ConfirmationWindowViewModel.B2F(String backgroundColor) at Samba.Presentation.Controls.Interaction.ConfirmationWindowViewModel..ctor(String question, String buttons, Window window, String background) at Samba.Presentation.Controls.Interaction.DialogService.AskQuestion(String question, String buttons, String backgroundColor, String transparentColor) at Samba.Presentation.Controls.ActionProcessors.AskQuestion.Process(ActionData actionData) at Samba.Services.Common.RuleActionTypeRegistry.ProcessAction(String actionType, ActionData actionData) at Samba.Services.Implementations.AutomationModule.AutomationService.ProcessAction(String actionType, ActionData actionData) at Samba.Modules.AutomationModule.AutomationModule.<OnInitialization>b__5_0(EventParameters`1 x) at Microsoft.Practices.Prism.Events.EventSubscription`1.InvokeAction(Action`1 action, TPayload argument) at Microsoft.Practices.Prism.Events.EventSubscription`1.<>c__DisplayClass2.<GetExecutionStrategy>b__0(Object[] arguments) at Microsoft.Practices.Prism.Events.EventBase.InternalPublish(Object[] arguments) at Microsoft.Practices.Prism.Events.CompositePresentationEvent`1.Publish(TPayload payload) at Samba.Presentation.Services.Common.ExtensionMethods.Publish[TEventsubject](TEventsubject eventArgs, String eventTopic, Action expectedAction) ----------------------------- [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 Professional --CodeSet = 1252 --CSDVersion = Service Pack 1 --CurrentTimeZone = 0 --FreePhysicalMemory = 4556680 --OSArchitecture = 64-bit --OSLanguage = 1033 --ServicePackMajorVersion = 1 --ServicePackMinorVersion = 0 --Version = 6.1.7601 Machine -JTR-PC --Manufacturer = Gigabyte Technology Co., Ltd. --Model = To be filled by O.E.M. --TotalPhysicalMemory = 8551956480 --UserName = JTR-PC\JTR -----------------------------
Posts: 5
Participants: 3