We have moved to GitHub Issues
Created by Nicholas Westby 01 Jul 2014, 16:36:44 Updated by Shannon Deminick 23 Jul 2014, 15:59:35
Is duplicated by: U4-5175
Relates to: U4-5194
Relates to: U4-5021
Relates to: U4-5048
If I search for "test" (with quotes), I get an exception message with no exception details and no stack trace and nothing in the UmbracoTaceLog.txt (see attached screenshot).
I have made a pull request with a fix for this issue (and issue U4-5194): https://github.com/umbraco/Umbraco-CMS/pull/426
I'll look at escaping these things correctly but for now this is great. Cheers!
Wouldn't escaping them stop the quotes from having any effect? Wouldn't they just become part of what you're searching for rather than a modifier affecting how you're searching? At least, that is why I chose this approach.
It's now checking if the string is surrounded by quotes, if that is the case then it will be an exact match. The inner string will be escaped using Lucene's Escape method so that any invalid chars do not throw exceptions - and this will become part of the search.
Assignee: Shannon Deminick
Backwards Compatible: True
Fix Submitted: Pull request
Affected versions: 7.0.4, 7.1.4
Due in version: 7.1.5