Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: library
    • Security Level: Public
    • Labels:
      None

      Description

      Documentation shows that exceptions should be thrown from the ctor if the connection isn't successfully established, but that's not how things currently behave. See:

      http://www.couchbase.com/docs/couchbase-sdk-php-1.1/api-reference-connection.html#table-couchbase-sdk_php_new_couchbase

      Also, there was some question of whether or not getResultCode() should be used instead of an exception handling path.

      This shows that getResultCode() and getResultMessage() are deprecated
      http://www.couchbase.com/docs/couchbase-sdk-php-1.1/api-reference-summary-errors.html

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

        Activity

        Show
        trond Trond Norbye added a comment - http://review.couchbase.org/#/c/26666/

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes