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

User is able to save uncompilable map function for spatial view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0
    • None
    • None
    • Security Level: Public
    • None

    Description

      putting
      {"views":{"df":{"map":"function (doc, meta)

      {\n emit(meta.id, null);\n}

      "}},"spatial":{"ff":"function (doc) {\n if (doc.geometry) {\n emit(doc.geometry, null);\n\n"}} (2 curlies are missing in map fn)
      do not return any error

      response is

      {"ok":true,"id":"_design/dev_d"}

      Attachments

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

        Activity

          People

            vmx Volker Mische
            iryna iryna
            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