-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 field defaults to an empty string and is determined to be null #12507
Conversation
@zGaron Could you please provide a small script to reproduce the issue? |
just in update |
hi @sergeyklay |
@zGaron Could you please submit this PR to the 3.0.x branch. I'll merge 3.0.x with 3.1.x later. Also update please CHANGELOG.md |
@sergeyklay ok, on it |
@@ -13,6 +13,7 @@ | |||
- Fixed `Phalcon\Cache\Backend\Libmemcached::queryKeys` to correct query the existing cached keys [#11024](https://github.com/phalcon/cphalcon/issues/11024) | |||
- Fixed building extension for ImageMagick 7 [mkoppanen/imagick#180](https://github.com/mkoppanen/imagick/issues/180) | |||
- Fixed `Phalcon\Cache\Backend\Redis::save` to allow save data termlessly [#12327](https://github.com/phalcon/cphalcon/issues/12327) | |||
- Fixed default value of the model is not correct properly when updating. [#12507](https://github.com/phalcon/cphalcon/issues/12507) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 3.0.3 already released. Use 3.0.4 please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XD
got it
@sergeyklay |
Thanks |
as comment.
if the field is " not null default '' " in database.
model.zep:2091 while return null.
Thanks