[SERVER-8060] MinKey/MaxKey print incorrect V8 Created: 02/Jan/13 Updated: 11/Jul/16 Resolved: 22/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | JSON, MaxKey, MinKey | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The extended json spec is here: http://www.mongodb.org/display/DOCS/Mongo+Extended+JSON Also, this comes up with json parsing and export with mongoimport/export. The shell will not correctly parse the document/json representation either, but does allow $MaxKey/$MinKey (along with $ref,$id,$db) through on validation incorrectly.
|
| Comments |
| Comment by auto [ 22/Jan/13 ] | ||||||||
|
Author: {u'date': u'2013-01-22T20:32:34Z', u'email': u'scotthernandez@gmail.com', u'name': u'Scott Hernandez'}Message: | ||||||||
| Comment by Ben Becker [ 18/Jan/13 ] | ||||||||
|
Just to note, Min/MaxKey are mutable in SM.
| ||||||||
| Comment by auto [ 17/Jan/13 ] | ||||||||
|
Author: {u'date': u'2013-01-17T20:14:40Z', u'email': u'scotthernandez@gmail.com', u'name': u'Scott Hernandez'}Message: Revert " We need to fix validation via save and make the Min/MaxKey immutable like SM This reverts commit bbf3b7dffa0c27db45eb4398c4e88eb63435fe51. | ||||||||
| Comment by Ben Becker [ 16/Jan/13 ] | ||||||||
|
Updated the print output to be consistent with spidermonkey:
| ||||||||
| Comment by auto [ 16/Jan/13 ] | ||||||||
|
Author: {u'date': u'2013-01-16T22:01:01Z', u'email': u'ben.becker@10gen.com', u'name': u'Ben Becker'}Message: |