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

Errors from REST API produce invalid JSON

    XMLWordPrintable

Details

    • CBG Sprint 39
    • 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

            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)

            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)

            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)

            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

              ben.brooks Ben Brooks
              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