Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1760

Query failure with nested BasicDBObject created from Map

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.1, 3.1.0
    • Affects Version/s: 3.0.0
    • Component/s: Codecs
    • Labels:

      The attached groovy script works with 2.13.0 but fails with 3.0.0.
      The problem is probably related to the PersistentArrayMap class that I create the BasicDBObject from.
      Wild guess: Maybe PersistentArrayMap implements an interface that the driver interprets as a marker for a list rather than for a map.

        1. regexbug.groovy
          1 kB
          Jochen Kemnade

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jkemnade Jochen Kemnade
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: