U4-5048 - cannot search back-office for semi-colon

Created by Matt Muller 04 Jun 2014, 00:56:22 Updated by Shannon Deminick 23 Jul 2014, 19:05:29

Relates to: U4-5167

entering something like "windows:" as a search term in the back office results in an error of:

Failed to retreive entity data for query : Encountered " ":" ": "" at line 1, column 13. Was expecting one of: "(" ... "*" ... ... ... ... ... "[" ... "{" ... ...

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Lucene.Net.QueryParsers.ParseException: Encountered " ":" ": "" at line 1, column 13. Was expecting one of: "(" ... "*" ... ... ... ... ... "[" ... "{" ... ...

Stack Trace:

at Lucene.Net.QueryParsers.QueryParser.Jj_consume_token(Int32 kind) at Lucene.Net.QueryParsers.QueryParser.Clause(String field) at Lucene.Net.QueryParsers.QueryParser.Query(String field) at Lucene.Net.QueryParsers.QueryParser.Clause(String field) at Lucene.Net.QueryParsers.QueryParser.Query(String field) at Lucene.Net.QueryParsers.QueryParser.Parse(String query)

Comments

Matt Muller 23 Jul 2014, 19:03:53

as well as semi-colon we also found issues with searching for: : ; & < > ! ? , ' " ( ) # - _


Shannon Deminick 23 Jul 2014, 19:05:29

Its all escaped properly now with lucene.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.0

Due in version: 7.1.5

Sprint:

Story Points:

Cycle: