Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      The error format is changing, need to ensure that's updated in the client.

      Rough example format:

      {"total_rows":0,"rows":[

      ],
      "errors": [

      {"from":"127.0.0.1:5984","reason":"Design document `_design/testfoobar` missing in database `test_db_b`."}

      ,

      {"from":"http://localhost:5984/_view_merge/","reason":"Design document `_design/testfoobar` missing in database `test_db_c`."}

      ]}

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

        Activity

        ingenthr Matt Ingenthron created issue -
        Hide
        ingenthr Matt Ingenthron added a comment -

        Here's a better example of the format. It changed slightly again.

        {"total_rows":0,"rows":[
        ],
        "errors":[

        {"from":"local","reason":"Design document `_design/testfoobar` missing in database `test_db_b`."}

        ,

        {"from":"http://localhost:5984/_view_merge/","reason":"Design document `_design/testfoobar` missing in database `test_db_c`."}

        ]}

        Show
        ingenthr Matt Ingenthron added a comment - Here's a better example of the format. It changed slightly again. {"total_rows":0,"rows":[ ], "errors":[ {"from":"local","reason":"Design document `_design/testfoobar` missing in database `test_db_b`."} , {"from":"http://localhost:5984/_view_merge/","reason":"Design document `_design/testfoobar` missing in database `test_db_c`."} ]}
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Fix Version/s 0.9 [ 10213 ]
        Hide
        BigBlueHat Benjamin Young added a comment -

        So the key difference here is the use of a keyword "local" in place of the IP addres and port combo?

        Show
        BigBlueHat Benjamin Young added a comment - So the key difference here is the use of a keyword "local" in place of the IP addres and port combo?
        BigBlueHat Benjamin Young made changes -
        Assignee Farshid Ghods [ farshid ] Benjamin Young [ bigbluehat ]
        BigBlueHat Benjamin Young made changes -
        Comment [ In what version of Couchbase Server is the error format changing? 2.0? Thanks. ]
        BigBlueHat Benjamin Young made changes -
        Fix Version/s 0.8.0 [ 10354 ]
        Fix Version/s 0.7 [ 10213 ]
        Hide
        ingenthr Matt Ingenthron added a comment -

        I guess so. Best thing is just to make sure access to the errors is available for now.

        Show
        ingenthr Matt Ingenthron added a comment - I guess so. Best thing is just to make sure access to the errors is available for now.
        Hide
        BigBlueHat Benjamin Young added a comment -

        http://review.couchbase.org/#/c/20404/

        It's a bit basic, but functional.

        Show
        BigBlueHat Benjamin Young added a comment - http://review.couchbase.org/#/c/20404/ It's a bit basic, but functional.
        BigBlueHat Benjamin Young made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        mnunberg Mark Nunberg made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 14687 ] Couchbase SDK Workflow [ 44532 ]

          People

          • Assignee:
            BigBlueHat Benjamin Young
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes