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

User is able to save uncompilable map function for spatial view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:

      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"}
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        There are no open Gerrit changes for this issue.

          People

          • Assignee:
            vmx Volker Mische
            Reporter:
            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