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

Inconsistent behaviour when querying GridFS collection

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.12.0
    • Component/s: GridFS
    • None
    • Environment:
      Mac OS X
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When querying a GridFS collection on specific fields, it works when no GridFS file was ever stored on that collection. Once a file was saved to the collection, the query on specific fields fails with "can't load partial GridFSFile file".

      Probably the driver uses 'BasicDBObject' for the query until it associates GridFS with the collection?

            Assignee:
            Unassigned Unassigned
            Reporter:
            tspindler@gmail.com Torsten Spindler
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: