-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove double database connection validation in setup #12826
Remove double database connection validation in setup #12826
Conversation
…in SetupService Removes OrchardCore.Setup.Core dependency on YesSql.Abstractions
If you look at the comments it says that it could throw an exception if someone tries to use the same database with the same prefix. This is not something that the DB connection validator will test unless I'm wrong. Maybe it should then. |
It's tested by |
I'm ok with this as long as we are sure that it is now impossible for the |
I wrapped shell descriptor manager initialization into a try/catch so it will always fail gracefully with error feedback in the UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one suggestion but in the meantime I still approved.
Removes double database connexion validation in SetupService as it's already done by
IDbConnectionValidator.ValidateAsync
.Removes OrchardCore.Setup.Core dependency on YesSql.Abstractions
Fixes #12825