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

Client Library not processing server response correctly returned COUCHBASE_SUCCESS upon faliure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Version: 2.0.1 enterprise edition (build-170)
      Client library version 1.1.2

      Description

      View query returned

      {"error":"bad_request","reason":"attachments not supported in Couchbase"}

      The query was:
      $cb->view('/lnp/_design/lnp/_view/lnp_stats?key=[2013,3,22,11001]');
      Note the malformed query (the extra bucket before _desing)

      The server returned: (captured using sudo tcpdump s 1024 -l -i eth1 -A 'tcp port 8092') < Thanks avsej
      HTTP/1.1 400 Bad Request
      Server: MochiWeb/1.0 (Any of you quaids got a smint?)
      Date: Fri, 22 Mar 2013 16:42:41 GMT
      Content-Type: application/json
      Content-Length: 74
      Cache-Control: must-revalidate

      $cb->getResultCode() returned COUCHBASE_SUCCESS <-- Here is the issue

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        trond Trond Norbye added a comment -

        Same as PCBC-215

        Show
        trond Trond Norbye added a comment - Same as PCBC-215

          People

          • Assignee:
            ingenthr Matt Ingenthron
            Reporter:
            jsimon Juan Simon
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes