Uploaded image for project: 'Core Server'
  1. Core Server
  2. 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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2019-10-07

      Code in question.

      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.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: