Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1641

Exists always returns true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • None
    • None
    • Core
    • None
    • Windows
    • 1

    Description

      Summary: The exists method always returns true, even if the document doesn't exist.

      Repro:

      1. Write a java program, connect to cluster/bucket/collection

      2. Check to see if a doc exists like so: ExistsResult result = bucket.defaultCollection().exists("doc-that-doesnt-exist");

      3. Check the result object's exists() getter

      Actual:

      Returns true (when document doesn't exist)

      Expected:

      Return false

      Note: I don't know for sure which Java SDK version I'm using? I just included couchbase-transactions 1.0.0 in the pom.xml and it pulls in some version of the SDK, but I don't know enough to Java to know which version it pulled in.

      Attachments

        Issue Links

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

          Activity

            People

              daschl Michael Nitschinger
              matthew.groves Matthew Groves
              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