kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Query issues (jsonquery) #192

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm on recent code, from yesterday I think.

Seeing some strange things from some jsonQueries.  Not sure if I'm doing
invalid stuff, or these are bugs:

-----------------
3 objects in DB
URL:  http://server:8080/myclass/[*]    (and [.*] is same way)
{}&&
[
undefined,
undefined,
undefined
]

--------------------
works as expected:
2000 objects in DB
URL:  http://server:8080/myclass/[*]
"Only 1000 items can be returned...."    <- as expected

but, same thing with sort on end:
URL:  http://server:8080/myclass/[*][/someprop]
displays about 1000 "undefined" msgs like above, then prints 
the "Only 1000 items can be returned...", but this msg appears 
right in the middle of an item (truncating it).

---------------

similarly...

URL: http://server:8080/myclass/[='List_Price']
"Only 1000 items can be returned...."    <- as expected

URL: http://server:8080/myclass/[='List_Price'][/List_Price]
displays a bunch of items, then the "Only 1000 items.." msg 
appears right in the middle of the display of an item 

Dylan

Original issue reported on code.google.com by dty...@gmail.com on 24 May 2009 at 7:08

GoogleCodeExporter commented 8 years ago
urrgh, that last section wasn't quite right.   Revised version:

-------------

similarly...

URL: http://server:8080/myclass/[={price: aPrice, prod: aProd}]
"Only 1000 items can be returned...."    <- as expected

URL: http://server:8080/myclass/[={price: aPrice, prod: aProd}][/price]
displays a bunch of items, then dumps the "Only 1000 items.." msg 
right in the middle of a line of a displaying item

Original comment by dty...@gmail.com on 24 May 2009 at 7:38

GoogleCodeExporter commented 8 years ago

Original comment by kris...@gmail.com on 6 Jun 2009 at 6:02