Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.6.5
-
None
-
OSX, mongod 2.0.0
Description
Saving a file using the GridFS API is not creating the required index in the chunks collection for files_id and n. The result is that after saving a file calling GridFSInputFile.validate() will throw a NullPointerException. Attached is a maven based project to reproduce. Run with: mvn test
Current workaround is to create the index per the spec