[SERVER-1200] mongodump fails when a collection name includes '/' Created: 07/Jun/10 Updated: 28/Jun/12 Resolved: 28/Jun/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 1.5.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jehiah Czebotar | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | Linux | ||||||||
| Participants: | |||||||||
| Description |
|
When you create a collection with a '/' in the collection name, mongodump will fail when exporting files To reproduce create a database 'test' with a collection 'a/b' With pymongo, this can be done by doing `getattr(db, 'a/b').save( {...}) run mongodump; it will fail with this error: the check for collection names should be stricter on access, or mongodump should handle them appropriately. |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 28/Jun/12 ] |
|
duplicate of |
| Comment by Mark Nadal [ 15/Sep/11 ] |
|
Just encountered this error with 1.8.2. Please handle by automatically converting them to ASCII or HEX and back. Thanks. |