Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-661

Errors from REST API produce invalid JSON

    XMLWordPrintable

    Details

    • Sprint:
      CBG Sprint 39
    • Story Points:
      1

      Description

      Errors that contain double quoted values, like `no such database "db"` produce invalid JSON on the REST API.

      {"error":"not_found","reason":"no such database "db""}
      

        Attachments

          Issue Links

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

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.8.0-43 contains sync_gateway commit 1ea5839 with commit message:
            CBG-661 - Fix error strings containing double quotes producing invalid JSON (#4437)

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.8.0-43 contains sync_gateway commit 1ea5839 with commit message: CBG-661 - Fix error strings containing double quotes producing invalid JSON (#4437)
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.8.0-51 contains sync_gateway commit 07fc0d2 with commit message:
            CBG-661 - Fully escape string for JSON in writeStatus error handling (#4451)

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.8.0-51 contains sync_gateway commit 07fc0d2 with commit message: CBG-661 - Fully escape string for JSON in writeStatus error handling (#4451)

              People

              Assignee:
              ben.brooks Ben Brooks
              Reporter:
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty