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

        iryna iryna created issue -
        farshid Farshid Ghods (Inactive) made changes -
        Field Original Value New Value
        Fix Version/s 2.0 [ 10114 ]
        Assignee Filipe Manana [ filipemanana ] Volker Mische [ vmx ]
        iryna iryna made changes -
        Summary User is able to save uncomilable map function for spatial view User is able to save uncompilable map function for spatial view
        steve Steve Yen made changes -
        Priority Minor [ 4 ] Major [ 3 ]
        vmx Volker Mische made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        iryna iryna made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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