DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36164>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36164 Summary: Empty merge expression gives internal server error Product: Slide Version: 2.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Search AssignedTo: slide-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] If a dasl query just consists of an empty merge expression, like <d:or/>, slide will respond with 500 because the expression generated will be null and cause a NPE in the BasicQueryImpl, line 134. This is a very easy fix, for both slide 2.1 and trunk: On line 208 (trunk) or 206 (2.1) of BasicExpressionCompiler, if the mergeExpression is null, then throw a BadQueryException("OR and AND cannot be empty!"). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]