Opened 17 years ago

Closed 17 years ago

#200 closed defect (fixed)

BZ185 A single quote in a list folder name appears to be causing an exception in v1.0.3509.18864

Reported by: Mark J. Millard Owned by: Pete Cyr
Priority: major Milestone: Beta 2
Component: Curator Tool Version: Beta 1
Severity: normal Keywords: List Tree View
Cc: lisa.burke@…, marty.reisinger@… Database Engine: N/A
Operating System: N/A

Description

When demonstrating to the CIMMYT maize curator the features of v1.0.3509.18864,
I got an exception below:

I believe it is related to the name I used on the folder:

Taba's Mexico Work

I was able to continue the program and change the list folder name to Tabas
Mexico Work and I did not get an error.

Unallowed characters in the folder names should be trapped and the user
informed to use other characters.

Syntax error: Missing operand after's' operator

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

Exception Text
System.Data.SyntaxErrorException: Syntax error: Missing operand after 's'
operator.

at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type

type)

at System.Data.Select..ctor(DataTable table, String filterExpression, String

sort, DataViewRowState recordStates)

at System.Data.DataTable.Select(String filterExpression)
at GrinGlobal.Client.GrinGlobalClient.RefreshMainDGVData()
at GrinGlobal.Client.GrinGlobalClient.treeView_AfterSelect(Object sender,

TreeViewEventArgs e)

at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.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.3082 (QFE.050727-3000)
CodeBase: ​file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-CuratorTool

Assembly Version: 1.0.3509.18864
Win32 Version: 1.0.3509
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.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


5qlcbccb

Assembly Version: 1.0.3509.18864
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.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


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.

Change History (3)

comment:1 by Mark J. Millard, 17 years ago

Summary: A single quote in a list folder name appears to be causing an exception in v1.0.3509.18864 → BZ185 A single quote in a list folder name appears to be causing an exception in v1.0.3509.18864

comment:2 by Mark J. Millard, 17 years ago

Keywords: List Tree View added; CC1 Client Component 1 removed
Owner: changed from Mark J. Millard to Pete Cyr
Status: new → assigned

Single quote in folder name does not seem to be a problem in curator tool v1.0.3681.42688 or v1.0.3692.34716. MJM is closing because fix predates TRAC implementation.

comment:3 by Mark J. Millard, 17 years ago

Resolution: → fixed
Status: assigned → closed
Note: See TracTickets for help on using tickets.