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

Inconsistent behaviour when querying GridFS collection

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.12.0
    • GridFS
    • None
    • Mac OS X

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: