Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-187

get() on a missing document should return false

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    No reviews matched the request. Check your Options in the drop-down menu of this sections header.

      Activity

      Hide
      brianlmoon Brian Moon added a comment -

      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().

      Show
      brianlmoon Brian Moon added a comment - 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().
      Hide
      trond Trond Norbye added a comment -

      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

      Show
      trond Trond Norbye added a comment - 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

        People

        • Assignee:
          trond Trond Norbye
          Reporter:
          trond Trond Norbye
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Gerrit Reviews

            There are no open Gerrit changes