[PCBC-187] get() on a missing document should return false Created: 24/Jan/13 Updated: 14/Feb/13 Resolved: 14/Feb/13 |
|
| Status: | Resolved |
| Project: | Couchbase PHP client library |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Security Level: | Public |
| Type: | Bug | Priority: | Major |
| Reporter: | Trond Norbye | Assignee: | Trond Norbye |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Comments |
| Comment by Brian Moon [ 24/Jan/13 ] |
| The de facto standard for operations in both PHP memcached clients is to return bool false on any failure. If you want to be consistent with those libs, you may want to check more than just get(). |
| Comment by Trond Norbye [ 14/Feb/13 ] |
| I am going to write tests that verifies all of the return codes, but given that this is _the_ most common call we should get it in ASAP |