Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-577

SDK 1.3.8 doesn't support uuid with bucket name in View query against 3.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Test Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.6
    • Fix Version/s: 1.3.8
    • Component/s: library
    • Labels:
      None

      Description

      run https://github.com/couchbase/couchbase-net-client/commit/86fd1c588df15611b557bfa7e401581e005c188e
      against 3.0.0-1105

      http://sdkbuilds.couchbase.com/job/.net-sdkdclient-ng-andrei/2/console

      [176.39 INFO] (SDKD log:137) [Couchbase.DefaultHttpClient|Warn] System.Net.WebException: The remote server returned an error: (404) Not Found.
      [176.39 INFO] (SDKD log:137) +++ Received exception of ID 0
      [176.39 INFO] (SDKD log:137) [Couchbase.CouchbaseViewHandler|Warn] Design document not found, body:

      {"error":"not_found","reason":"missing"}

      
      [176.39 INFO] (SDKD log:137)  

      Jeff, as I understand 1.3.8 should support 3.0 CB as well?

      then, the same fix for https://www.couchbase.com/issues/browse/NCBC-545 ( https://github.com/couchbase/couchbase-net-client/commit/e5ead27c1efa5d33bb4d0ba9f55d424ffd9d3c79) should be adjusted for 1.3.8?

        Attachments

          Issue Links

          For Gerrit Dashboard: NCBC-577
          # Subject Branch Project Status CR V

            Activity

            Hide
            jmorris Jeff Morris added a comment -

            It looks like I would have to rewrite nearly all of the System.Net namespace. I think it might be better to handle this via documentation and support: the .NET 1.X SDK only supports Couchbase Server 3.0 from .NET Framework 4.5 onward.

            Show
            jmorris Jeff Morris added a comment - It looks like I would have to rewrite nearly all of the System.Net namespace. I think it might be better to handle this via documentation and support: the .NET 1.X SDK only supports Couchbase Server 3.0 from .NET Framework 4.5 onward.
            Hide
            jmorris Jeff Morris added a comment -

            Or another approach would be to simply remove the uuid and %2B characters. Does the server require it now?

            Show
            jmorris Jeff Morris added a comment - Or another approach would be to simply remove the uuid and %2B characters. Does the server require it now?
            Hide
            jmorris Jeff Morris added a comment -

            Andrei -

            Try putting this configuration element into SDK-nets App.Config file:

            <uri>
            <iriParsing enabled="true"/>
            </uri>

            After you have done this, run the tests again. If this works, I'll try a programmatic solution (if it exists).

            Thanks,

            Jeff

            Show
            jmorris Jeff Morris added a comment - Andrei - Try putting this configuration element into SDK-nets App.Config file: <uri> <iriParsing enabled="true"/> </uri> After you have done this, run the tests again. If this works, I'll try a programmatic solution (if it exists). Thanks, Jeff
            Hide
            jmorris Jeff Morris added a comment - - edited

            New patchset: git fetch ssh://jmorris@review.couchbase.org:29418/couchbase-net-client refs/changes/11/40511/5 && git checkout FETCH_HEAD

            I tested locally on clients using .NET 4, 4.5 and 4.5.1. This is the "programmatic" implementation mentioned in previous comment.

            Show
            jmorris Jeff Morris added a comment - - edited New patchset: git fetch ssh://jmorris@review.couchbase.org:29418/couchbase-net-client refs/changes/11/40511/5 && git checkout FETCH_HEAD I tested locally on clients using .NET 4, 4.5 and 4.5.1. This is the "programmatic" implementation mentioned in previous comment.
            Hide
            andreibaranouski Andrei Baranouski added a comment - - edited
            Show
            andreibaranouski Andrei Baranouski added a comment - - edited awesome, it works! http://sdkbuilds.couchbase.com/job/.net-sdkdclient-ng-andrei/71/

              People

              • Assignee:
                jmorris Jeff Morris
                Reporter:
                andreibaranouski Andrei Baranouski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes