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

Incorrect exception thrown when credentials are missing for CouchbaseClusterManager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.2.3
    • 2.2.2
    • None
    • None

    Description

      $cluster = new CouchbaseCluster('couchbase://127.0.0.1');                                                                                                                          
      $manager = $cluster->manager();
      

      generates

      Fatal error: Call to undefined function InvalidArgumentException() in [CouchbaseNative]/CouchbaseCluster.class.php on line 88
      

      while should generate and throw actual InvalidArgumentException()

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty