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

Endian conversion issue for flags edited from Web UI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-developer-preview-3
    • Fix Version/s: 2.0-beta
    • Component/s: UI
    • Security Level: Public
    • Labels:
      None

      Description

      http://www.couchbase.com/forums/thread/flags-modified-editing-document-web-ui

      When editing a document from the "web ui", the flags are shifted by 2 bit positions to the left.
      Edits using the memcached protocol don't appear to affect the flags (as expected since they should be opaque). To be fair, this is probably because the transcoder I'm using is setting the flags again.
      This throws off our serialization code since we use the flags to encode data about the version and class of the serialized JSON document.
      Note: Editing it a second time seems to reset the flags back properly?
      Alan

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

        Activity

        Hide
        peter peter added a comment -

        Pavel, if this is fixed, can you resolve the bug?

        Show
        peter peter added a comment - Pavel, if this is fixed, can you resolve the bug?
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        It's not possible to edit flags anymore

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - It's not possible to edit flags anymore

          People

          • Assignee:
            alkondratenko Aleksey Kondratenko (Inactive)
            Reporter:
            damien damien
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes