Opened 17 years ago
Closed 17 years ago
#294 closed defect (fixed)
Parking the cursor on a column in edit mode that was a hidden column in read only mode Exception
| Reported by: | Mark J. Millard | Owned by: | Pete Cyr |
|---|---|---|---|
| Priority: | major | Milestone: | TTT Snapshot |
| Component: | Curator Tool | Version: | 1.0.3660.32558 |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | SQL Server | |
| Operating System: | XP Pro 32 bit |
Description
I had hidden the accession_id in the accession dataview and then went to edit mode where it was visible. I decided not to edit and my cursor was on the accession_id column when I cancelled. An exception was thrown due to the fact that the cursor was trying to place itself in a hidden column. This problem happens in every dataview
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
System.InvalidOperationException: FirstDisplayedScrollingColumnIndex property cannot be set to an invisible column.
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingColumnIndex(Int32 value)
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.ux_buttonCancelEditData_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.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.Button.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)
Loaded Assemblies
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
GRINGlobal-CuratorTool
Assembly Version: 1.0.3678.41631
Win32 Version: 1.0.3678.41631
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal-CuratorTool.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
GRINGlobal.Client.Common
Assembly Version: 1.0.3678.41630
Win32 Version: 1.0.3678.41630
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL
Assembly Version: 1.0.3678.41630
Win32 Version: 1.0.3678.41630
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/AccessionForm.dll
Assembly Version: 1.0.3678.41630
Win32 Version: 1.0.3678.41630
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/ImageForm.dll
Assembly Version: 1.0.3678.41630
Win32 Version: 1.0.3678.41630
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/InventoryForm.dll
Assembly Version: 1.0.3678.41630
Win32 Version: 1.0.3678.41630
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/OrderForm.dll
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
ey5071-d
Assembly Version: 1.0.3678.41630
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Attachments (2)
Change History (7)
by , 17 years ago
| Attachment: | ReturnToInvisibleColumn_2010-01-27_1-27-2010 6-14-26 PM.jpg added |
|---|
by , 17 years ago
| Attachment: | ReturnToInvisibleColumn_2010-01-27_1-27-2010 6-16-33 PM.jpg added |
|---|
After returning to read-only mode
comment:1 by , 17 years ago
| Status: | new → addressed |
|---|
I am moving this to verified because it appears to have been fixed in version v1.0.3715.38967. Someone needs to check and mark as fixed.
comment:2 by , 17 years ago
| Status: | addressed → released |
|---|
comment:3 by , 17 years ago
| Status: | released → verified |
|---|
comment:4 by , 17 years ago
Tested this in Vista 32 Home and it appears to be fixed. Was this ever confirmed to be an issue in an OS other than XP Pro 32?
comment:5 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | verified → closed |

Edit mode and where cursor is located