-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.6.5
-
Component/s: API
-
None
-
Environment:OSX, mongod 2.0.0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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