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

Traceback when calling find() on system.js

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.1
    • Affects Version/s: 1.10
    • Component/s: None
    • Labels:
      None
    • Environment:
      ALL

      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

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

              Created:
              Updated:
              Resolved: