[SERVER-43644] validate() helper in src/shell/collections.js should only accept an object, not also a boolean which is interpreted as the 'full' option Created: 25/Sep/19 Updated: 29/Oct/23 Resolved: 02/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Execution Team 2019-10-07 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
We now have 'background' as an option as well as 'full', so the shell helper needs to be updated not to accept just a raw boolean that is currently interpreted as value for the 'full' setting. The function parameter should be named something like 'opts' instead of 'full', and any callers just specifying a boolean value must be updated. |
| Comments |
| Comment by Githook User [ 02/Oct/19 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: |
| Comment by Githook User [ 02/Oct/19 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: |
| Comment by Githook User [ 02/Oct/19 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: |