Dear JS-Support,
We have found a huge bug in DataGrid => DataGridRow: 'Key Already Exists Exception'
Background info: we have a TabControl with some TabItem. There are some DataGrid on each.
When we switch from one TabItem to other TabItem (from one DataGrid to another DataGrid): we got exception: 'Key Already Exists Exception'.
Details: -see attached picture as well.
JSIL.Bootstrap.js:2522 Uncaught System.ArgumentException: Key already exists
$.Method({Static:false, Public:true }, "Add",
(new JSIL.MethodSignature(null, [new JSIL.GenericParameter("TKey", "System.Collections.Generic.Dictionary`2"), new JSIL.GenericParameter("TValue", "System.Collections.Generic.Dictionary`2")], [])),
function Add (key, value) {
var bucketEntry = this.$searchBucket(key);
if (bucketEntry !== null)
throw new System.ArgumentException("Key already exists");
return this.$addToBucket(key, value);
}
);
This bug riport has sent to support@cshtml5.com as well as priority support needed.
Waiting for your urgent intervention,
Thanks in advance,
Best Regards,
Péter
More details from Chrome debugger:
JSIL.Bootstrap.js?20161041109:2522 Uncaught System.ArgumentException: Key already existsAdd @ JSIL.Bootstrap.js?20161041109:2522DataGrid_AddChild @ CSharpXamlForHtml5.js?20161041109:29251DataGrid_UpdateChildrenInVisualTree @ CSharpXamlForHtml5.js?20161041109:29858DataGrid_INTERNAL_OnAttachedToVisualTree @ CSharpXamlForHtml5.js?20161041109:29516INTERNAL_VisualTreeManager_AttachVisualChild_Private @ CSharpXamlForHtml5.js?20161041109:8345INTERNAL_VisualTreeManager_AttachVisualChildIfNotAlreadyAttached @ CSharpXamlForHtml5.js?20161041109:8368ContentControl_OnContentChanged @ CSharpXamlForHtml5.js?20161041109:19581ContentControl_Content_Changed @ CSharpXamlForHtml5.js?20161041109:19556Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_PropertyStore_OnPropertyChanged @ CSharpXamlForHtml5.js?20161041109:3522INTERNAL_VisualTreeManager_RaiseChangedEventOnAllDependencyProperties @ CSharpXamlForHtml5.js?20161041109:8491INTERNAL_VisualTreeManager_AttachVisualChild_Private @ CSharpXamlForHtml5.js?20161041109:8354INTERNAL_VisualTreeManager_AttachVisualChildIfNotAlreadyAttached @ CSharpXamlForHtml5.js?20161041109:8368Panel_ManageChildrenChanged @ CSharpXamlForHtml5.js?20161041109:37059Panel_Children_Changed @ CSharpXamlForHtml5.js?20161041109:36984Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_PropertyStore_OnPropertyChanged @ CSharpXamlForHtml5.js?20161041109:3522INTERNAL_VisualTreeManager_RaiseChangedEventOnAllDependencyProperties @ CSharpXamlForHtml5.js?20161041109:8491INTERNAL_VisualTreeManager_AttachVisualChild_Private @ CSharpXamlForHtml5.js?20161041109:8354INTERNAL_VisualTreeManager_AttachVisualChildIfNotAlreadyAttached @ CSharpXamlForHtml5.js?20161041109:8368ContentControl_OnContentChanged @ CSharpXamlForHtml5.js?20161041109:19581ContentControl_Content_Changed @ CSharpXamlForHtml5.js?20161041109:19556Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_PropertyStore_OnPropertyChanged @ CSharpXamlForHtml5.js?20161041109:3522INTERNAL_VisualTreeManager_RaiseChangedEventOnAllDependencyProperties @ CSharpXamlForHtml5.js?20161041109:8491INTERNAL_VisualTreeManager_AttachVisualChild_Private @ CSharpXamlForHtml5.js?20161041109:8354INTERNAL_VisualTreeManager_AttachVisualChildIfNotAlreadyAttached @ CSharpXamlForHtml5.js?20161041109:8368ContentControl_OnContentChanged @ CSharpXamlForHtml5.js?20161041109:19581ContentControl_Content_Changed @ CSharpXamlForHtml5.js?20161041109:19556Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_PropertyStore_OnPropertyChanged @ CSharpXamlForHtml5.js?20161041109:3522INTERNAL_PropertyStore_RaisePropertyChangedAndCascadeToChildren @ CSharpXamlForHtml5.js?20161041109:3538INTERNAL_PropertyStore_SetSpecificValue @ CSharpXamlForHtml5.js?20161041109:3646INTERNAL_PropertyStore_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:3595DependencyObject_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:13588DependencyObject_SetValueInternal @ CSharpXamlForHtml5.js?20161041109:13638DependencyObject_SetValue @ CSharpXamlForHtml5.js?20161041109:13595ContentControl_set_Content @ CSharpXamlForHtml5.js?20161041109:19597TabControl_UpdateSelectedContent @ CSharpXamlForHtml5.js?20161041109:35833TabControl_OnSelectedContentChanged @ CSharpXamlForHtml5.js?20161041109:35690Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_PropertyStore_OnPropertyChanged @ CSharpXamlForHtml5.js?20161041109:3522INTERNAL_PropertyStore_RaisePropertyChangedAndCascadeToChildren @ CSharpXamlForHtml5.js?20161041109:3538INTERNAL_PropertyStore_SetSpecificValue @ CSharpXamlForHtml5.js?20161041109:3646INTERNAL_PropertyStore_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:3595DependencyObject_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:13588DependencyObject_SetValueInternal @ CSharpXamlForHtml5.js?20161041109:13638DependencyObject_SetValue @ CSharpXamlForHtml5.js?20161041109:13595TabControl_SelectItem @ CSharpXamlForHtml5.js?20161041109:35767TabControl_OnSelectedItemChanged @ CSharpXamlForHtml5.js?20161041109:35729Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_PropertyStore_OnPropertyChanged @ CSharpXamlForHtml5.js?20161041109:3522INTERNAL_PropertyStore_RaisePropertyChangedAndCascadeToChildren @ CSharpXamlForHtml5.js?20161041109:3538INTERNAL_PropertyStore_SetSpecificValue @ CSharpXamlForHtml5.js?20161041109:3646INTERNAL_PropertyStore_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:3595DependencyObject_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:13588DependencyObject_SetValueInternal @ CSharpXamlForHtml5.js?20161041109:13638DependencyObject_SetValue @ CSharpXamlForHtml5.js?20161041109:13595TabControl_set_SelectedItem @ CSharpXamlForHtml5.js?20161041109:35818TabControl_OnSelectedIndexChanged @ CSharpXamlForHtml5.js?20161041109:35711Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_PropertyStore_OnPropertyChanged @ CSharpXamlForHtml5.js?20161041109:3522INTERNAL_PropertyStore_RaisePropertyChangedAndCascadeToChildren @ CSharpXamlForHtml5.js?20161041109:3538INTERNAL_PropertyStore_SetSpecificValue @ CSharpXamlForHtml5.js?20161041109:3646INTERNAL_PropertyStore_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:3595DependencyObject_SetLocalValue @ CSharpXamlForHtml5.js?20161041109:13588DependencyObject_SetValueInternal @ CSharpXamlForHtml5.js?20161041109:13638DependencyObject_SetValue @ CSharpXamlForHtml5.js?20161041109:13595TabControl_set_SelectedIndex @ CSharpXamlForHtml5.js?20161041109:35813TabItem_OnPointerPressed$06 @ CSharpXamlForHtml5.js?20161041109:36404Windows_UI_Xaml_Controls_TabItem_OnPointerPressed @ Windows.UI.Xaml.Controls.TabItem.OnPointerPressed:12Delegate_Invoke @ JSIL.Core.js?20161041109:9344UIElement_OnPointerPressed$11 @ CSharpXamlForHtml5.js?20161041109:14650MethodSignature_CallVirtual$0$1 @ MethodSignature.CallVirtual$0$1:8UIElement_OnPointerPressed$10 @ CSharpXamlForHtml5.js?20161041109:14632OverloadedMethod_InvokeDynamic @ JSIL.Core.js?20161041109:3945Windows_UI_Xaml_UIElement_OnPointerPressed @ Windows.UI.Xaml.UIElement.OnPointerPressed:9Delegate_Invoke @ JSIL.Core.js?20161041109:9344INTERNAL_EventManager$b2_OnEvent @ CSharpXamlForHtml5.js?20161041109:2251INTERNAL_EventManager$b2_$lStartListeningToDomEventsIfNotAlreadyListening$gb__7 @ CSharpXamlForHtml5.js?20161041109:2213Delegate_Invoke @ JSIL.Core.js?20161041109:9344$l$gc__DisplayClass1_$lAttachToDomEvents$gb__0 @ CSharpXamlForHtml5.js?20161041109:2469Delegate_Invoke @ JSIL.Core.js?20161041109:9344
37KasszaWEB_Kliens.js?20161041109:45726 WebSocket connection to 'ws://alfa1omega.myq-see.com:14490/WebSocketService_ServerTime' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSEDWebSocket__ctor @ KasszaWEB_Kliens.js?20161041109:45726CSHTML5_Extensions_WebSockets_WebSocket @ CSHTML5.Extensions.WebSockets.WebSocket:20MainPage__dispatcherTimerForWebSocketServiceReconnection_Tick @ KasszaWEB_Kliens.js?20161041109:49929Delegate_Invoke @ JSIL.Core.js?20161041109:9344DispatcherTimer_OnTick @ CSharpXamlForHtml5.js?20161041109:66450Delegate_Invoke @ JSIL.Core.js?20161041109:9344