Skip to content

Conversation

michalsn
Copy link
Member

Description
This PR fixes a bug where the created_at field wasn't set correctly when using the Model::replace() method.

Fixes #9692

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

@michalsn michalsn added the bug Verified issues on the current code behavior or pull requests that will fix them label Aug 27, 2025
@michalsn michalsn merged commit 63e9ebd into codeigniter4:develop Aug 27, 2025
50 checks passed
@michalsn
Copy link
Member Author

Thank you @paulbalandan

@michalsn michalsn deleted the fix/modelReplace branch August 27, 2025 18:46
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: builder replace() not setting created_at as expected.

2 participants