[CSHARP-67] Periods are allowed in property names when they should be rejected Created: 05/Oct/10 Updated: 19/Oct/16 Resolved: 11/Nov/10 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | SAMUS |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rob Vesse | Assignee: | Steve Wagner |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
.Net C# Windows 7 and Server 2008 |
||
| Description |
|
This bug relates to the SO question http://stackoverflow.com/questions/3857280/mongodb-indexing-embedded-keys-when-the-embedded-keys-are-uris and a similar bug with the Java Driver http://jira.mongodb.org/browse/JAVA-151 The driver should reject dots in keys |
| Comments |
| Comment by Steve Wagner [ 11/Nov/10 ] |
|
Migrated to https://github.com/mongodb-csharp/mongodb-csharp/issues/issue/23 |
| Comment by Kristina Chodorow (Inactive) [ 05/Oct/10 ] |
|
Yes. |
| Comment by Steve Wagner [ 05/Oct/10 ] |
|
Dose they throw something like an exception? |
| Comment by Kristina Chodorow (Inactive) [ 05/Oct/10 ] |
|
Most of the drivers disallow dots in inserts, but allow then in other operations. |
| Comment by Steve Wagner [ 05/Oct/10 ] |
|
We can not fix this because are allowed in documents keys because i can tell the server to step into a sub element with it. db.postings.find( { "author.name" : "joe" }); You can have a look here: |