Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
Description
In WebEPG-conf: when you select an EPG source for a channel via the channel selection and view EPG sources by "Websites" for a selected channel, this succeeds the first time. But, if you open up EPG source selection again for that channel and again switch to "Websites", WebEPG-conf crashes with a .NET exception (see below).
h4. Steps to Reproduce
1. start WebEPG-conf
2. import channels if not already done so
3. select a channel, then click on the "..." button for the channel details
4. in the selection window, choose "list by: Websites" and just close the dialog
5. click on the "..." button for the channel details again (don't select another channel on the left!)
6. again, choose "list by: Websites" --> crash
************** Exception Text **************
System.ArgumentException: Cannot add or insert the item 'Web Sites' in more than one place. You must first remove it from its current location or clone it.
Parameter name: node
at System.Windows.Forms.TreeNodeCollection.AddInternal(TreeNode node, Int32 delta)
at System.Windows.Forms.TreeNodeCollection.Add(TreeNode node)
at WebEPG_conf.fSelection.UpdateList()
at WebEPG_conf.fSelection.DoEvent(Object source, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.RadioButton.OnClick(EventArgs e)
at System.Windows.Forms.RadioButton.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
h4. Steps to Reproduce
1. start WebEPG-conf
2. import channels if not already done so
3. select a channel, then click on the "..." button for the channel details
4. in the selection window, choose "list by: Websites" and just close the dialog
5. click on the "..." button for the channel details again (don't select another channel on the left!)
6. again, choose "list by: Websites" --> crash
************** Exception Text **************
System.ArgumentException: Cannot add or insert the item 'Web Sites' in more than one place. You must first remove it from its current location or clone it.
Parameter name: node
at System.Windows.Forms.TreeNodeCollection.AddInternal(TreeNode node, Int32 delta)
at System.Windows.Forms.TreeNodeCollection.Add(TreeNode node)
at WebEPG_conf.fSelection.UpdateList()
at WebEPG_conf.fSelection.DoEvent(Object source, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.RadioButton.OnClick(EventArgs e)
at System.Windows.Forms.RadioButton.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)