Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-112

Append/Prepend Operations adds extra quote characters on string value provided

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Mac OS X Mountain Lion

      Description

      Append/Prepend operations are not defaulting to :format => :plain, and without it are adding extra quote characters. If you use :format => :plain on every prepend/append operation it works as expected, but that is supposed to be the default for these operations.

      see: https://gist.github.com/6c1762696ff5fe769a78

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

        Activity

        scalabl3 scalabl3 created issue -
        Hide
        avsej Sergey Avseyev added a comment -

        I'd like to close it as Won't fix because it isn't issues of the library itself

        As far as you started operating on the value considering one format, you should continue to do so. The mutators doesn't have any knowledge about the format of the value except connection-wise format and the explicit option. This is why you should either turn your connection into :plain mode or use :format => :plain everywhere

        Show
        avsej Sergey Avseyev added a comment - I'd like to close it as Won't fix because it isn't issues of the library itself As far as you started operating on the value considering one format, you should continue to do so. The mutators doesn't have any knowledge about the format of the value except connection-wise format and the explicit option. This is why you should either turn your connection into :plain mode or use :format => :plain everywhere
        avsej Sergey Avseyev made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        avsej Sergey Avseyev made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 23720 ] Couchbase SDK Workflow [ 44896 ]

          People

          • Assignee:
            avsej Sergey Avseyev
            Reporter:
            scalabl3 scalabl3
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes