You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throw an exception when we find out that execute() did not work. Since execute() returns false when there is an error we can bubble this up to let the user know their auth roles or auth details query from the config was incorrect.
Provide a narrative description of what you are trying to accomplish:
Are you fixing a bug?
Detail how the bug is invoked currently. If the user puts an incorrect sql query in their auth config it will role over this without telling them it was wrong.
Detail the original, incorrect behavior. If an incorrect sql query is used in the auth config it will show every user has possibly no role or no details
Detail the new, expected behavior. When an incorrect sql query is passed in the config and ran against the db a runtime exception will be thrown showing the details return from errorInfo() on the prepared statement.
Base your feature on the master branch, and submit against that branch.
Throw an exception when we find out that execute() did not work. Since execute() returns false when there is an error we can bubble this up to let the user know their auth roles or auth details query from the config was incorrect.
Provide a narrative description of what you are trying to accomplish:
If the user puts an incorrect sql query in their auth config it will role over this without telling them it was wrong.
If an incorrect sql query is used in the auth config it will show every user has possibly no role or no details
When an incorrect sql query is passed in the config and ran against the db a runtime exception will be thrown showing the details return from errorInfo() on the prepared statement.
master
branch, and submit against that branch.Originally posted by @Colmbus72 at zendframework/zend-expressive-authentication#50
The text was updated successfully, but these errors were encountered: