Commands with sequences parsed through IDL cannot be serialized

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.11
    • Affects Version/s: 3.5.10
    • Component/s: IDL
    • None
    • Fully Compatible
    • ALL
    • Hide

      Construct an opMsg with sequence (as opposed to the corresponding BSON field)
      Parse the opMsg into an IDL generated object
      Call serialize on the parsed object

      Show
      Construct an opMsg with sequence (as opposed to the corresponding BSON field) Parse the opMsg into an IDL generated object Call serialize on the parsed object
    • Sharding 2017-08-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If a command which contains sequences is parsed through IDL, the corresponding _hasField value is not set. Because of this, trying to serialize the same command back to BSON will invariant that there are missing fields.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: