Opened 6 years ago
Closed 6 years ago
#2029 closed defect (fixed)
Curator Tool Lookup picker throws error when using a % sign as a wild card
| Reported by: | Mark J. Millard | Owned by: | Pete Cyr |
|---|---|---|---|
| Priority: | medium | Milestone: | Next Release - CT |
| Component: | Curator Tool | Version: | N/A |
| Severity: | Keywords: | lookup picker percent wildcard | |
| Cc: | Database Engine: | N/A | |
| Operating System: | Other |
Description
In version 1.9.9.4 and many others before, when you type characters and then a % sign as a wildcard and then more characters in the lookup picker trying to narrow to a few items to select, this exception is thrown. There may be another ticket that addresses this problem, but tickets #755, #859, and #882 don't specifically apply.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
System.Data.EvaluateException: Error in Like operator: the string pattern 'Ze%a%' is invalid.
at System.Data.LikeNode.AnalyzePattern(String pat)
at System.Data.LikeNode.Eval(DataRow row, DataRowVersion version)
at System.Data.BinaryNode.EvalBinaryOp(Int32 op, ExpressionNode left, ExpressionNode right, DataRow row, DataRowVersion version, Int32[] recordNos)
at System.Data.BinaryNode.Eval(DataRow row, DataRowVersion version)
at System.Data.DataExpression.Invoke(DataRow row, DataRowVersion version)
at System.Data.Index.InitRecords(IFilter filter)
at System.Data.DataTable.GetIndex(IndexField[] indexDesc, DataViewRowState recordStates, IFilter rowFilter)
at System.Data.DataView.UpdateIndex(Boolean force, Boolean fireEvent)
at System.Data.DataView.SetIndex2(String newSort, DataViewRowState newRowStates, IFilter newRowFilter, Boolean fireEvent)
at System.Data.DataView.SetIndex(String newSort, DataViewRowState newRowStates, IFilter newRowFilter)
at System.Data.DataView.set_RowFilter(String value)
at GRINGlobal.Client.Common.LookupTablePicker.RefreshList()
at GRINGlobal.Client.Common.LookupTablePicker.timerDelay_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
GRINGlobal-CuratorTool
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal-CuratorTool.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
GRINGlobal.Client.Common
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Wizards/AccessionWizard.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Wizards/CooperatorWizard.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Wizards/InventoryAttachmentWizard.dll
Assembly Version: 1.9.9.5
Win32 Version: 1.9.9.5
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Wizards/OrderWizard.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Wizards/ViabilityWizard.dll
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/AccessionForm.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/ImageForm.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/InventoryForm.dll
Assembly Version: 1.9.9.4
Win32 Version: 1.9.9.4
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/OrderForm.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 , 6 years ago
| Summary: | Curator Tool Lookup picker throughs error when using a % sign as a wild card → Curator Tool Lookup picker throws error when using a % sign as a wild card |
|---|
comment:2 by , 6 years ago
| Status: | new → addressed |
|---|
comment:3 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |
Still works in CT v1.9.9.8

Addressed in CT v1.9.9.7