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

Model::_checkForeignKeysReverseRestrict() to check relation params #15172

Merged
merged 3 commits into from
Oct 17, 2020

Conversation

zsilbi
Copy link
Member

@zsilbi zsilbi commented Oct 16, 2020

Hello!

  • Type: bug fix

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG

Small description of change:

Similar to this: #15126
The model now checks the params in the relation when deleting related records.

Thanks,
zsilbi

@zsilbi zsilbi added 4.1.0 bug A bug report labels Oct 16, 2020
@zsilbi zsilbi self-assigned this Oct 16, 2020
@zsilbi zsilbi force-pushed the model-foreignkey-restrict branch from 6bd45ef to c3896d1 Compare October 16, 2020 22:44
@zsilbi zsilbi requested a review from Jeckerson October 16, 2020 23:51
@zsilbi zsilbi closed this Oct 17, 2020
@zsilbi zsilbi reopened this Oct 17, 2020
@zsilbi zsilbi merged commit 669892b into phalcon:4.1.x Oct 17, 2020
@zsilbi zsilbi deleted the model-foreignkey-restrict branch October 17, 2020 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants