[SERVER-27271] rolesInfo command raises System.InvalidOperationException : Duplicate element name 'roles'. Created: 03/Dec/16 Updated: 05/Apr/17 Resolved: 06/Dec/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 3.4.0 |
| Fix Version/s: | 3.4.1, 3.5.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alexey Butalov | Assignee: | Spencer Jackson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Completed: | |||||||||||||
| Sprint: | Platforms 2017-01-23 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Empty installation of http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.0.zip on Windows 10 x64.
raises System.InvalidOperationException : Duplicate element name 'roles'.
Seems it's a MongoDB server error. |
| Comments |
| Comment by Githook User [ 06/Dec/16 ] |
|
Author: {u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}Message: |
| Comment by Githook User [ 06/Dec/16 ] |
|
Author: {u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}Message: |
| Comment by Spencer Jackson [ 05/Dec/16 ] |
|
While running rolesInfo in the shell, I can observe the server returning redundant 'roles' fields with WireShark. I took a look and I think I found the bug. Thanks! |
| Comment by Jeffrey Yemin [ 03/Dec/16 ] |
|
Moving issue to SERVER project after confirming in a vanilla deployment of MongoDB 3.4 that the roles array appears twice in the command reply document. |
| Comment by Alexey Butalov [ 03/Dec/16 ] |
|
P.S. rolesInfo command executed in Shell doesn't raise this error and produces right result. |