[SERVER-5327] Mongo shell processes "[object Object]" string incorrectly Created: 16/Mar/12 Updated: 25/Oct/21 Resolved: 25/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Shell |
| Affects Version/s: | 2.0.0, 2.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ivan Mykhailov | Assignee: | Geert Bosch |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
linux, 64bit |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
type in shell tt = {data: "[object Object]"}tt.data It will return nothing, but should [object Object] |
| Comments |
| Comment by Geert Bosch [ 25/Oct/21 ] |
|
This currently works as designed is both the mongo shell as well as the new mongosh. |
| Comment by Ivan Mykhailov [ 16/Mar/12 ] |
|
Sorry for typing mistake in title |