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

Query.copy does not copy includeDocs property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • 1.1dp
    • Core
    • Security Level: Public
    • None
    • all java

    Description

      Query.java line 200 in function copy():
      setIncludeDocs(willIncludeDocs());

      Should be
      query.setIncludeDocs(willIncludeDocs());

      Paginated queries depend on copy() so paginatedQuery requiring the document fail with:
      java.lang.UnsupportedOperationException: This view result doesn't contain documents

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            SteveC Steven Cooke
            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