Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-11275

Views created over REST API with CRLF cannot be looked at from the UI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.5.1
    • ns_server
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      See the corresponding linked JCBC ticket.

      Here's the gist:

      When looking at a view created via the Java SDK in the web admin, the "Show Results" button is greyed out when the map or reduce function contain a carriage return. The view can be executed via the SDK as well as the REST interface, but the "Show Results" button is disabled.

      This was reported in the forums over a year ago:
      http://www.couchbase.com/forums/thread/design-docs-views-created-rest-api-dont-work-show-results-grayed-out-404-error-client

      It looks like the UI is not happy with CRLF in view definitions. Querying and all works fine.
      I'd rather fix this on the server side than doing it on the client side as a patchy workaround.

      What do you think?

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-11275
          # Subject Branch Project Status CR V

          Activity

            People

              pavel Pavel Blagodov
              daschl Michael Nitschinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty