-
-
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
Fixed #13497 returning "empty" values as null
#13694
Fixed #13497 returning "empty" values as null
#13694
Conversation
9531c64
to
607b062
Compare
c707fb4
to
e2b086a
Compare
This is ready for review @niden |
@CameronHall Can I be a pain one more time please?
The |
e2b086a
to
b195bb1
Compare
Codecov Report
@@ Coverage Diff @@
## 4.0.x #13694 +/- ##
==========================================
+ Coverage 65.52% 65.52% +<.01%
==========================================
Files 396 396
Lines 88175 88184 +9
==========================================
+ Hits 57775 57785 +10
+ Misses 30400 30399 -1
Continue to review full report at Codecov.
|
@CameronHall I will fix the phpcs issues |
@@ -126,6 +126,7 @@ | |||
- Changed the `Phalcon\Session` namespace by refactoring the component. `Phalcon\Session\Manager` is now the single component offering session manipulation by using adapters. Each adapter implements PHP's `SessionHandlerInterface`. Available adapters are `Phalcon\Session\Files`, `Phalcon\Session\Libmemcached`, `Phalcon\Session\Noop` and `Phalcon\Session\Redis`. [#12833](https://github.com/phalcon/cphalcon/issues/12833), [#11341](https://github.com/phalcon/cphalcon/issues/11341), [#13535](https://github.com/phalcon/cphalcon/issues/13535) | |||
- Fixed `Phalcon\Mvc\Models` magic method (setter) is fixed for arrays [#13661](https://github.com/phalcon/cphalcon/issues/13661) | |||
- Fixed `Phalcon\Mvc\Model::skipAttributes` and `Phalcon\Mvc\Model::allowEmptyColumns` allowEmptyStrings & skipAttributes repsect the column mapping. [#12975](https://github.com/phalcon/cphalcon/issues/12975), [#13477](https://github.com/phalcon/cphalcon/issues/13477) | |||
- Fixed `\Phalcon\Cache\Backend\Libmemcached` returning "empty" values being as `null` when they could be `0`, `false` or empty `string`. [#13497](https://github.com/phalcon/cphalcon/issues/13497) |
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.
@CameronHall, @niden why do you use previous version fro this change? Did you see [4.0.0-alpha.2]
at the top of this file?
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.
That is my mistake @sergeyklay. I rebased the changelog without checking the output/changes. I'll fix it in another PR.
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.
Looks like it's been fixed anyway. Thanks @niden.
Hello!
In raising this pull request, I confirm the following (please check boxes):
Small description of change:
libmemcached
no longer incorrectly returns "empty" values as nullThanks