print and printjson should be allowed from $where and MapReduce

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.4.0-rc2
    • Affects Version/s: 2.4.0-rc1
    • Component/s: JavaScript, Usability
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      They are not in the list at http://docs.mongodb.org/manual/release-notes/2.4/#added-limitations-for-map-reduce-and-where-operations.

      print and printjson are currently the only way to debug server-side js. We either need to provide a better option or re-enable them.

            Assignee:
            Ben Becker (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: