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: Model inserts cast $primaryKey value when using Entity #7806

Merged
merged 5 commits into from
Aug 15, 2023

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Aug 10, 2023

Description
Fixes #7797

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Aug 10, 2023
system/Model.php Show resolved Hide resolved
system/Model.php Outdated Show resolved Hide resolved
@kenjis kenjis mentioned this pull request Aug 13, 2023
22 tasks
@kenjis kenjis requested a review from MGatner August 14, 2023 02:20
@kenjis kenjis merged commit 513f9fc into codeigniter4:develop Aug 15, 2023
51 checks passed
@kenjis kenjis deleted the fix-model-cast-pk branch August 15, 2023 01:05
@kenjis kenjis added the database Issues or pull requests that affect the database layer label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them database Issues or pull requests that affect the database layer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Model inserts the casted $primaryKey value when using an entity and casts.
2 participants