dannote / mod-ndb

Automatically exported from code.google.com/p/mod-ndb
0 stars 0 forks source link

Return 200 with empty select (no row selected) #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. With SELECT when the row not exist in Base

What is the expected output? What do you see instead?
Expected: HTTP Error code 404 NotFound
But mod_ndb return a json format with default value for the row

What version of the product are you using? On what operating system?
284

Please provide any additional information below.
I change "build_results" function int "output_format.cc" file to return 404
when not exist any row.

Original issue reported on code.google.com by dbesso...@gmail.com on 17 Apr 2007 at 8:40

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry.... The patch don't work!!!

Original comment by dbesso...@gmail.com on 17 Apr 2007 at 12:15

GoogleCodeExporter commented 9 years ago
Maybe this is related to issue #20.

Original comment by john.david.duncan on 18 Apr 2007 at 10:41

GoogleCodeExporter commented 9 years ago

Original comment by john.david.duncan on 28 Apr 2007 at 6:14

GoogleCodeExporter commented 9 years ago
Fixed in svn 342 -- will be available for download soon. 

Original comment by john.david.duncan on 20 Aug 2007 at 6:00