[SERVER-8265] Shell - show logs needs better error message when unauthorized. Created: 22/Jan/13 Updated: 11/Jul/16 Resolved: 12/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Shell, Usability |
| Affects Version/s: | 2.3.2 |
| Fix Version/s: | 2.5.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Craig Wilson | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | Linux |
| Steps To Reproduce: | Type show logs into the console. |
| Participants: |
| Description |
|
When running mongodb subscriber edition 2.3.2 for ubuntu 11, "show logs" results in "cannot read property length of undefined". src/mongo/shell/utils.js:1576 |
| Comments |
| Comment by auto [ 12/Mar/13 ] | |
|
Author: {u'date': u'2013-03-12T17:19:31Z', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@10gen.com'}Message: Better err message when "show logs" is unauthorized Signed-off-by: Ian Whalen <ian.whalen@gmail.com> | |
| Comment by Craig Wilson [ 22/Jan/13 ] | |
|
Got it. I wasn't authorized to see those. I guess the thing to do would be to clean up the error message... | |
| Comment by Scott Hernandez (Inactive) [ 22/Jan/13 ] | |
|
Can you run the getLog command directly and post the results from that shell?
I would guess the command is failing for some reason. |