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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2019-10-07

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: