[JAVA-1128] Check key names for insert, update, and replace Created: 06/Mar/14  Updated: 03/Apr/14  Resolved: 12/Mar/14

Status: Closed
Project: Java Driver
Component/s: Write Operations
Affects Version/s: None
Fix Version/s: 2.12.0

Type: New Feature Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: rc2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Check key names for insert, update, and replace

 Description   

Documents being inserted or used as a replacement via update should not have any illegal keys. Documented being used to update a document via update operators should only have keys starting with $ at the top level.



 Comments   
Comment by Githook User [ 12/Mar/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1128: Don't apply key checking for inserts into system.indexes. Ensure that key checking and _id creation occurs for all insert paths
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/2869154e63c2eeef3050d0ee699e2f4d99ee9338

Generated at Thu Feb 08 08:53:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.