helenadeus / s3db

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

error on select statement api, conditional parameter subject_id does not work when defined alone on where clause #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the URL of your deployment?

What steps will reproduce the problem?
1.http://aleph.inesc-id.pt/s3db/S3QL.php?
key=Po2x9Uq6MR5SBiz&format=json&query=%3CS3QL%3E%3Cselect%3E*%3C/select%3E%
3Cfrom%3Estatements%3C/from%3E%3Cwhere%3E%3Csubject_id%3E26514%3C/subject_i
d%3E%3C/where%3E%3C/S3QL%3E&jsonp=
2.
3.

What is the expected output? What do you see instead?
expected statements from subject_id 26514 and I'm getting the 
entire database statements

the documentation says
select
statement_id, item_id, rule_id, value, file_name, file_size, subject, 
subject_id, verb, verb_id, object, object_id,
notes (deprecated), resource_id (deprecated), instance_id (deprecated),  
project_id (deprecated) 
from
statements

but putting a parameter in subject_id does not work

What version of the product are you using? On what operating system?
S3DB   3.5.9 D1313779,linux

Please provide any additional information below.

Original issue reported on code.google.com by mauro.ds...@gmail.com on 20 May 2010 at 11:49