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

Bad error when updating a document with non-JSON data in the UI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: 3.0
    • Component/s: UI
    • Security Level: Public
    • Labels:
      None
    • Environment:
    • Operating System:
      Ubuntu 64-bit

      Description

      based on MB-6961
      Error like {'EXIT',{badarg,[

      {erlang,iolist_to_binary,"y"}

      ,

      {couch_doc,to_raw_json_binary_views,1}

      ,

      {capi_crud,update_doc,3}

      , {rpc,local_ ... appears when try to save numeric non-json document
      see screenshot

      1. ns-diag.txt.tar.gz
        762 kB
        Iryna
      1. non-jsonUI.png
        223 kB
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        steve Steve Yen added a comment -

        moving to 2.0.1 per bug-scrub mtg.

        Show
        steve Steve Yen added a comment - moving to 2.0.1 per bug-scrub mtg.
        Hide
        steve Steve Yen added a comment -

        to 2.0.2 per bug-scrub

        Show
        steve Steve Yen added a comment - to 2.0.2 per bug-scrub
        Hide
        pavel Pavel Blagodov added a comment -

        In my opinion problem in couchdb sources. Here is fix http://review.couchbase.org/#/c/22676/2/src/couchdb/couch_doc.erl with this part of code documents editing working fine. I did not write tests yet, possible not have to.

        Show
        pavel Pavel Blagodov added a comment - In my opinion problem in couchdb sources. Here is fix http://review.couchbase.org/#/c/22676/2/src/couchdb/couch_doc.erl with this part of code documents editing working fine. I did not write tests yet, possible not have to.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -
        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - MB-7069
        Hide
        iryna iryna added a comment -

        verified 4.0.0-2046

        Show
        iryna iryna added a comment - verified 4.0.0-2046

          People

          • Assignee:
            pavel Pavel Blagodov
            Reporter:
            iryna iryna
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes