[JAVA-1129] Check key names for insert, update, and replace Created: 06/Mar/14  Updated: 31/Mar/15  Resolved: 02/May/14

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

Type: New Feature Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
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 Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Added isValidUpdateOperation to validate update keys

refs JAVA-1129
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/bd6372604d75e4164efe104e95122c7e8f0bf442

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Add validation tests to CollectibleDocumentCodecTest

refs JAVA-1129
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/bf64b584dace220ec91fd48aaa5ed8618d1253ea

Comment by Githook User [ 02/May/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Added isValidUpdateOperation to validate update keys

refs JAVA-1129
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/bd6372604d75e4164efe104e95122c7e8f0bf442

Comment by Githook User [ 02/May/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Add validation tests to CollectibleDocumentCodecTest

refs JAVA-1129
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/bf64b584dace220ec91fd48aaa5ed8618d1253ea

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