Skip to content
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]: saveOrFail doesnt throw QueryException #31

Merged
merged 14 commits into from
Mar 10, 2024

Conversation

dimitriBouteille
Copy link
Owner

@dimitriBouteille dimitriBouteille commented Mar 5, 2024

La fonction saveOrFail ne provoque pas d'exception alors que ça devrait être le cas.

L'objectif de cette MR est de corriger ce bug et améliorer Dbout\WpOrm\Orm\Database afin de gérer plus facilement les erreurs.

Autre petit problème, en cas d'exception, WP va afficher par défaut l'erreur dans la page, il faut désactiver cette fonctionnalité.

Capture d’écran du 2024-03-05 23-03-42


Resolves #17

@dimitriBouteille dimitriBouteille added bug Something isn't working development labels Mar 5, 2024
@dimitriBouteille dimitriBouteille self-assigned this Mar 5, 2024
@dimitriBouteille dimitriBouteille linked an issue Mar 5, 2024 that may be closed by this pull request
@dimitriBouteille dimitriBouteille merged commit 76bee93 into develop Mar 10, 2024
2 checks passed
@dimitriBouteille dimitriBouteille mentioned this pull request Mar 10, 2024
@dimitriBouteille dimitriBouteille changed the title #17 saveOrFail doesnt throw QueryException [BUG]: saveOrFail doesnt throw QueryException Mar 13, 2024
@dimitriBouteille dimitriBouteille deleted the 17-saveorfail-doesnt-throw-queryexception branch December 28, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready to deploy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: saveOrFail doesnt throw QueryException
1 participant