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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 1.1.2
    • library
    • Security Level: Public
    • None
    • 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

      Attachments

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

        Activity

          People

            ingenthr Matt Ingenthron
            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

                PagerDuty