[RCBC-112] Append/Prepend Operations adds extra quote characters on string value provided Created: 19/Jan/13 Updated: 08/Feb/13 Resolved: 22/Jan/13 |
|
| Status: | Closed |
| Project: | Couchbase Ruby client library |
| Component/s: | library |
| Affects Version/s: | 1.2.1 |
| Fix Version/s: | None |
| Security Level: | Public |
| Type: | Bug | Priority: | Major |
| Reporter: | Jasdeep Jaitla | Assignee: | Sergey Avseyev |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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 |
| Comments |
| Comment by Sergey Avseyev [ 22/Jan/13 ] |
|
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 |