Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28271

invalid_system_views.js test cases may pass for the wrong reason

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.4, 3.5.6
    • Component/s: None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      Query 2017-04-17

      Description

      The test cases exercised by invalid_system_views.js may be passing for the wrong reason. They are missing the following elements, each of which will make the view definition invalid, regardless of conditions we want to test.

      1. The namespace represented by the '_id' field should be the full namespace, with view name prefixed by the database name and '.' character.
      2. A 'viewOn' field must be provided specifying the collection or view this view is being built on.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: