jijo-paulose / datawiki

Automatically exported from code.google.com/p/datawiki
0 stars 0 forks source link

Empty query blows up. #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to a live dataset (I used SSA)
2. fiddle the url to have an empty q parameter 
(http://datawiki.prom.corp.google.com/wiki/documents?format=SSA&q= in this case)
3. Profit!!! wait, that's not right: see an error instead :-(

What is the expected output? What do you see instead?
I'd expect some deterministic behavior (either match all or match none). 
Anything but the error message that I see instead:

"""Error in query: Internal error Internal search failed: 
javax.jdo.JDOUserException: Parsing variable list and expected variable name at 
character 19 in "wiki.DocumentField"
NestedThrowables:
org.datanucleus.store.query.QueryCompilerSyntaxException: Parsing variable list 
and expected variable name at character 19 in "wiki.DocumentField"
"""

What browser were you using?
Chrome on Mac.

Please provide any additional information below.

I expect a chocolate next time I'm in NY ;-).

Original issue reported on code.google.com by dhotchk...@google.com on 22 Jun 2010 at 4:39