- 
    Type:
Bug
 - 
    Resolution: Done
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: Legacy C++ Implementation
 - 
    Component/s: mongoimport
 - 
    Environment:mongoimport vs mongoshell
 
When using mongoimport, creating a document which contains dots in a key is possible. however, this should not be allowed, since it would never be queryable.
example
-------
mongoimport -d test -c invalidjson --file ivalid.json (use attached file)
This is allowed using mongoimport, but actually the document is invalid. Can you add a check on this when importing data? mongoshell is ok. that returns a correct error.
- is related to
 - 
                    
TOOLS-1335 mongoimport imports fields with dots (.) from JSON
-         
 - Closed
 
 -         
 
- related to
 - 
                    
TOOLS-64 dotted field names should produce nested objects in mongoimport
-         
 - Closed
 
 -