[SERVER-4432] Strange item in mongo shell's autocomplete Created: 05/Dec/11 Updated: 11/Jul/16 Resolved: 13/Dec/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Tad Marshall | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Run the mongo shell, type "cf" and hit tab. You get an auto-completion suggestion of "cf_1_f_x) {shellAutocomplete(x)}(".MongoDB shell version: 2.1.0-pre- connecting to: test > cf<hit tab here>_1_f_x) {shellAutocomplete(x)} ( Presumably, some leftover cruft from the shellAutocomplete() code, but I haven't looked into it yet. Tested on Windows and Ubuntu. |
| Comments |
| Comment by auto [ 13/Dec/11 ] |
|
Author: {u'login': u'', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: Improve code in previous checkin to defend against "function (" |
| Comment by auto [ 13/Dec/11 ] |
|
Author: {u'login': u'', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: (" go away Test for no function name specified and use a default name if the |
| Comment by Tad Marshall [ 13/Dec/11 ] |
|
A couple of things going on here. |
| Comment by Tad Marshall [ 06/Dec/11 ] |
|
Version 1.9.2 does this as well, so it's not new. 19:51:29.88 C:\Bin\Mongo192x64> .\mongo --nodb ( |