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

[FIX] ORM Entity : error executing delete method before apply condition. #146

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

bim-g
Copy link
Collaborator

@bim-g bim-g commented Sep 28, 2023

There is a problem with Entity delete method, while trying to delete a row it clean-up the table and in case there is constraint, there will a problem.
The problem is that the condition is not take into consideration. The condition if check after execution.
closes #145

@bim-g bim-g added the bug Something isn't working label Sep 28, 2023
@bim-g bim-g added this to the Entity milestone Sep 28, 2023
@bim-g bim-g self-assigned this Sep 28, 2023
Copy link
Collaborator Author

@bim-g bim-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wa a use problem

@bim-g bim-g merged commit 9d4ac51 into master Sep 28, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Entity delete method problem with Integrity constraint violation
1 participant