Opened 18 months ago

Last modified 5 weeks ago

#3100 addressed defect

Query a descriptor like Primary Race in Maize along with Elevation range throws error in Public Interface

Reported by: Mark J. Millard Owned by: Kay Kittell
Priority: medium Milestone:
Component: Public Website App. Version: Server 2.3.1
Severity: 1 -- Low Effort Keywords: Georeference query and traits
Cc: kurt.endress@…, benjamin.haag@…, lisa.burke@…, mark.millard@… Database Engine: N/A
Operating System: N/A

Description

I did a query in descriptors with Primary Race name = SABANE along with additional criteria Elevation 1 to 5004 and I get the public interface Red Triangle error. I tried other races and various elevations and I still get the error.

I put Server 2.3.1 in to the version because I could not find 2.3.12 on the list.

Attachments (1)

Ticket 3100 Georeference Query 2025-06-13_07-05-19.jpg​ (204.7 KB ) - added by Mark J. Millard 18 months ago.
Query example that throws error

Download all attachments as: .zip

Change History (7)

by Mark J. Millard, 18 months ago

Query example that throws error

comment:1 by Benjamin Haag, 17 months ago

Owner: changed from dbmulg to Benjamin Haag
Status: new → assigned

Re-assigning to myself for now.

comment:2 by Benjamin Haag, 17 months ago

What were the previous query criteria?
Step 1-- Choose Crop ?
Step 2 -- Choose descriptor(s) ?

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

I as the maize curator most often selects Maize as the crop. Then I checked primary race. To further debug after verifying the bug is still there for the cited example, I went through 4 rounds selecting one of the top 4 listed crops and one descriptor randomly. I left the selector on the default for that descriptor. Selected collection georeference data and randomly put in a low and and high meter value with the low always being less then the high. I get the TRIANGLE of DEATH each time.

comment:4 by Benjamin Haag, 17 months ago

I need know exactly which criteria you entered in each step, please, in at least one of the instances that led to an error. This will allow me to replicate the conditions you saw, and have a better chance of determining where the problem might be and if we can fix it without a new build.

Your screenshot was partially helpful; a screenshot or shots covering all criteria will be most useful. Thanks.

comment:5 by Kay Kittell, 5 weeks ago

Owner: changed from Benjamin Haag to Kay Kittell
Severity: → 1 -- Low Effort

comment:6 by Kay Kittell, 5 weeks ago

Status: assigned → addressed

When adding additional criteria, and extra "and" was put into the search string causing the error. Changed descriptors.cs to check for that and to not put it in there if it already starts with "and."

Note: See TracTickets for help on using tickets.