Cannot use BasicDBList as value with Updates builder methods

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.5.0
    • Affects Version/s: 3.0.0
    • Component/s: Codecs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you use the Updates class in this way Updates.set("array", value) where value is a BasicDbList Object the result of the insert is

      {
      "_id" : "ID",
      "array" :

      { "0" : 100, "1" : 200, "2" : 400 }

      }

      The list BasicDBList is now a document instead of a list

            Assignee:
            Jeffrey Yemin
            Reporter:
            Giordano Maestro
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: