-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
[bug] Database Triggers Cause Exception #25
Comments
A fix to this is to alter the query used to populate this data to read inside of DatabaseSourceGateway.cs:
I've made a fix for this in my fork of the project: |
Do you know when we could expect the fix for this issue to be released? |
I am starting to put together the next release, I will include this fix in that release. Thanks @Azhkanizkael for the fix :) |
This should be included in 0.5.0: https://github.com/GoEddie/SQLCover/releases/tag/0.5.0 any problems please re-open and let me know |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Exception calling "Stop" with "0" argument(s): "Unable to cast object of type 'System.DBNull' to type 'System.String'."
How to reproduce:
run sqlcover against a database without database level triggers, it will succeed. Add 1 database trigger to the database and sqlcover will fail.
I took your script from the encryption error issue and found that Database Level Triggers do not have object_names pulled from the query you provided.
This is when using the covering other stuff scripts.
The text was updated successfully, but these errors were encountered: