Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11552

$in queries with dbrefs are broken on 2.5.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      query = { "ref" : { "$in" : [ { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe48"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe49"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4a"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4b"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4c"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4d"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4e"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4f"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe50"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe51"}}]}}

      Failing jenkins job can be found here: https://jenkins.10gen.com/view/Java/job/morphia-test/jdk=HotSpot6,label=linux64,mongodb_configuration=single_server,mongodb_server=unstable-release/lastCompletedBuild/testReport/org.mongodb.morphia.query/QueryInForKeyTest/testInQueryByKey/

      Show
      query = { "ref" : { "$in" : [ { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe48"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe49"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4a"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4b"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4c"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4d"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4e"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe4f"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe50"}} , { "$ref" : "org.mongodb.morphia.query.QueryInForKeyTest$ReferencedEntity" , "$id" : { "$oid" : "5277efd33004acec38bffe51"}}]}} Failing jenkins job can be found here: https://jenkins.10gen.com/view/Java/job/morphia-test/jdk=HotSpot6,label=linux64,mongodb_configuration=single_server,mongodb_server=unstable-release/lastCompletedBuild/testReport/org.mongodb.morphia.query/QueryInForKeyTest/testInQueryByKey/

      Description

      Works on 2.4.7

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matt.kangas Matt Kangas
              Reporter:
              justin.lee Justin Lee
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: