oarevalo / BugLogHQ

BugLogHQ is a tool to centralize the handling of automated bug reports from multiple applications. BugLogHQ provides a unified view of error messages sent from any number of applications, allowing the developer to search, graph, forward, and explore the bug reports submitted by the applications.
http://www.bugloghq.com
154 stars 67 forks source link

Messages with multiple square brackets cannot be searched #87

Closed awayken closed 10 years ago

awayken commented 10 years ago

When the error message includes multiple instances of square brackets, the database will not return any result. This occurs when searching for all bugs of that message and when trying to bulk delete the messages.

Commit 9a7d7362 fixed this for a single instance of brackets.

Here is a sample error message for which this is a problem: The key [SolrArray] does not exist, only the following keys are available: [_bugLogListener_default,_bugLogListenerConfig_default,coldfusion,java,os,railo,separator,servlet].

I have a fix for this that I will submit as a pull request.

dfgrumpy commented 10 years ago

The fix for this issue breaks firstMessageAlert as the message now contains an extra apostrophe submitting pull request to correct it.