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

Core Object has no hasOwnProperty Function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 3.4.10, 3.6.0
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      Windows, Linux, MacOs
    • Operating System:
      ALL
    • Backport Requested:
      v3.6, v3.4
    • Steps To Reproduce:
      Hide

      Start mongoshell
      >typeof db.hasOwnProperty
      object
      >typeof db.<SOMECOLLECTION>.hasOwnProperty
      object

      Show
      Start mongoshell >typeof db.hasOwnProperty object >typeof db.<SOMECOLLECTION>.hasOwnProperty object

      Description

      In Mongo (server and mongo shell) , the DB/Collection Object (maybe more?) has no function "hasOwnProperty" anymore. There is a Object now.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: