[SERVER-8823] print and printjson should be allowed from $where and MapReduce Created: 01/Mar/13  Updated: 18/Apr/13  Resolved: 01/Mar/13

Status: Closed
Project: Core Server
Component/s: JavaScript, Usability
Affects Version/s: 2.4.0-rc1
Fix Version/s: 2.4.0-rc2

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Ben Becker
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DOCS-1276 print and printjson avail in mapreduc... Closed
Operating System: ALL
Participants:

 Description   

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.



 Comments   
Comment by auto [ 01/Mar/13 ]

Author:

{u'date': u'2013-03-01T22:26:11Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}

Message: SERVER-8823: make printjson() and printjsononeline() available to and MapReduce
Branch: master
https://github.com/mongodb/mongo/commit/18cc49471b44049f97bc047c3a3200c2011c4e54

Comment by Ben Becker [ 01/Mar/13 ]

print() was actually included, but printjson() wasn't.

Generated at Thu Feb 08 03:18:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.