-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apigility GET doesn't list items #17
Comments
I looked for a solution or a explanation why it is happening, but I didn't find anything. Originally posted by @alessandrogarcez at zfcampus/zf-apigility-skeleton#110 (comment) |
The "select" query is been executed in database because I'm got it in logs of mysql but the code it seems always null. Originally posted by @alessandrogarcez at zfcampus/zf-apigility-skeleton#110 (comment) |
It happens because I didn't set the driver option DO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES UTF8" and I had some words with accent. But the problem is that any error is displayed. I think it should throw some exception and not success (200) without any item in body of response. Originally posted by @alessandrogarcez at zfcampus/zf-apigility-skeleton#110 (comment) |
I made a simple service using "db-connected" and it was created nicely.
But when I make a simple GET request to list all of my users, the response is 200 and anything appear in response. But when I make a GET informing an ID it works fine. POST and DELETE requests are working fine too.
Originally posted by @alessandrogarcez at zfcampus/zf-apigility-skeleton#110
The text was updated successfully, but these errors were encountered: