What steps will reproduce the problem?
1. Create class 'example_simple'
2. Add 10 objects to the class with {name:'A...J'}
3. Attempt to filter and sort:
http://localhost:8080/example_simple%5B?name=%27*%27][/id]
What is the expected output? What do you see instead?
[{id:1, id:2, id:3...}]
Also, flip flops between fully qualified ID and int-only ID for specific
queries.
What version of the product are you using? On what operating system?
R605 from Source and RC 2.
Please provide any additional information below.
You'll get something like the default back:
http://localhost:8080/example_simple
{}&&[
{"id":"example_simple/1",
"name":"a"
},
{"id":"example_simple/2",
"name":"b"
}
...
But when you sort by id (it drops the 'example_simple' prefix)
http://localhost:8080/example_simple%5B/id%5D
{}&&[
{"id":"1",
"name":"a"
},
{"id":"2",
"name":"b"
}
...
And worse filter then sort (back to what look like ints, but they're
really sorted strings):
http://localhost:8080/example_simple%5B?name=%27*%27][/id]
{}&&[
{"id":"1",
"name":"a"
},
{"id":"10",
"name":"E"
}
Original issue reported on code.google.com by beau.cro...@gmail.com on 2 Nov 2009 at 6:23
Original issue reported on code.google.com by
beau.cro...@gmail.com
on 2 Nov 2009 at 6:23