[JAVA-789] Dots allowed in field names of objects in a list Created: 15/Mar/13 Updated: 28/Mar/13 Resolved: 28/Mar/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 2.10.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Dan Polites | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mongo 2.2.3, java 1.6, mongo java driver 2.7.1, although tested with 2.10.1. |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I've ran into an issue where dots are allowed in object keys when the object is in a list, but not in allowed in embedded map or document key names. After further reading, I discovered that dots are not allowed in any mongo key. This example fails using the "Try it out" browser shell on the mongo home page but works using the latest version of the java driver. ]}) I also attached the groovy script that I used to verify that this is an issue with the latest version of the driver. |
| Comments |
| Comment by Jeffrey Yemin [ 28/Mar/13 ] |
|
Resolving as duplicate of |