Limit Search by Location Causes Syntax Error

Bug #1744489 reported by Jason Boyer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned

Bug Description

Eg 3.0.3

When limiting a search by location in 3.0.3 you're presented with 0 results and in your database logs you'll find an error referencing search.calculate_visibility_attribute_test being called with parameter types unknown (normal), integer (should be an array), and boolean. The QueryParser just needs a quick update to address this. Branch on its way momentarily.

Tags: pullrequest
Revision history for this message
Jason Boyer (jboyer) wrote :

Here's the quick fix:
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jboyer/lp1744489-location-search

Given the similarity of the surrounding code there is probably a lot of opportunity for refactoring and simplification but this branch doesn't start down that path.

tags: added: pullrequest
Revision history for this message
Mike Rylander (mrylander) wrote :

Arg, thanks Jason. Confirmed and picked to master and rel_3_0.

Changed in evergreen:
status: New → Fix Committed
Kathy Lussier (klussier)
Changed in evergreen:
milestone: none → 3.0.4
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.