[SERVER-23109] Typo in src/mongo/shell/collection.js Created: 14/Mar/16 Updated: 18/Nov/16 Resolved: 22/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.5, 3.3.4 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Artem Ko [X] | Assignee: | Waley Chen |
| Resolution: | Done | Votes: | 0 |
| Labels: | test-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Backport Completed: | |
| Steps To Reproduce: | db.users.getIndexes() 2016-03-14T19:55:37.200+0700 E QUERY [thread1] ReferenceError: ret is not defined |
| Sprint: | Platforms 12 (04/01/16) |
| Participants: |
| Description |
|
https://github.com/mongodb/mongo/blob/master/src/mongo/shell/collection.js#L1032 throw _getErrorWithCode(ret, "listIndexes failed: " + tojson(res)); should be throw _getErrorWithCode(res, "listIndexes failed: " + tojson(res)); |
| Comments |
| Comment by Githook User [ 22/Mar/16 ] |
|
Author: {u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}Message: (cherry picked from commit 7b6b491620fb9c5622ddff2a8271a84a0a736810) |
| Comment by Githook User [ 22/Mar/16 ] |
|
Author: {u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}Message: |