Couchbase

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Couchbase.com Access more options
    • Why NoSQL?
    • Couchbase Server
    • Download
    • Learn
    • Careers
Couchbase .NET client library
  • Couchbase .NET client library
  • NCBC-1

error format changing

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: 1.2.1
  • Component/s: library
  • 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`."}]}

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Gerrit Reviews
Hide
Permalink
Matt Ingenthron added a comment - 28/Jul/11 1:44 AM
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
Matt Ingenthron added a comment - 28/Jul/11 1:44 AM 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`."} ]}
Hide
Permalink
Matt Ingenthron added a comment - 05/Aug/11 5:19 PM
Was this handled in 0.9?
Show
Matt Ingenthron added a comment - 05/Aug/11 5:19 PM Was this handled in 0.9?
Hide
Permalink
Matt Ingenthron added a comment - 25/Aug/11 10:32 AM
The code needs to be inspected to verify this error handling.
Show
Matt Ingenthron added a comment - 25/Aug/11 10:32 AM The code needs to be inspected to verify this error handling.
Hide
Permalink
John Zablocki added a comment - 07/Dec/12 9:38 PM
Code is handling errors, but need unit test.
Show
John Zablocki added a comment - 07/Dec/12 9:38 PM Code is handling errors, but need unit test.
Hide
Permalink
John Zablocki added a comment - 18/Jan/13 3:15 PM
This error format is out of date. Current error format is below. As part of NCBC-165, error handling was cleaned up.

{"error":"error","reason":"Error opening view `does_not_exist`, from set `default`, design document `_design/cities`: {not_found,\n missing_named_view}"}

http://localhost:8092/default/_design/cities/_view/does_not_exist
Show
John Zablocki added a comment - 18/Jan/13 3:15 PM This error format is out of date. Current error format is below. As part of NCBC-165 , error handling was cleaned up. {"error":"error","reason":"Error opening view `does_not_exist`, from set `default`, design document `_design/cities`: {not_found,\n missing_named_view}"} http://localhost:8092/default/_design/cities/_view/does_not_exist

People

  • Assignee:
    John Zablocki
    Reporter:
    Matt Ingenthron
Vote (0)
Watch (0)

Dates

  • Created:
    27/Jul/11 8:34 PM
    Updated:
    18/Jan/13 3:15 PM
    Resolved:
    18/Jan/13 3:15 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.2.4#845-sha1:c9f4cc4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Couchbase. Try JIRA - bug tracking software for your team.