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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.3
    • Component/s: None
    • Labels:
      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

          No work has yet been logged on this issue.

            People

            • Assignee:
              avsej Sergey Avseyev
              Reporter:
              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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.