[SERVER-29956] Chained structs inside a command produce non-compilable code Created: 03/Jul/17 Updated: 30/Oct/23 Resolved: 05/Jul/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | IDL |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.10 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: | Add the following command to mongo/idl/unittest.idl:
|
||||||||||||||||
| Sprint: | Platforms 2017-07-10 | ||||||||||||||||
| Participants: |
| Description |
|
Using a chained struct inside a command generates a reference to variable called bsonObject, which does not exist because the input to the command's parse method is OpMsgRequest. |
| Comments |
| Comment by Githook User [ 05/Jul/17 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |