Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-227

Traceback when calling find() on system.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 1.10
    • 1.10.1
    • None
    • None
    • ALL

    Description

      This obviously also affects find_one().

      Repro steps:

      >>> db.system_js.add = 'function

      { return x + 1; }

      '
      >>> db.system_js.add(5)
      6.0
      >>> db.system.js.find_one()

      Traceback

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: