[SERVER-5511] Junk strings in listCommand help text? Created: 05/Apr/12  Updated: 11/Jul/16  Resolved: 03/May/12

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 2.1.0
Fix Version/s: 2.1.2

Type: Bug Priority: Trivial - P5
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Example:

		"_migrateClone" : {
			"help" : "internal - should not be called directly0x2e184a0",  // <------------- address of something being appended to help text...
			"lockType" : 0,
			"slaveOk" : false,
			"adminOnly" : true
		},



 Comments   
Comment by auto [ 03/May/12 ]

Author:

{u'login': u'', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: Merge branch 'SERVER-5511'
Branch: master
https://github.com/mongodb/mongo/commit/4aec455d992e716b7cf0ae2eb77022e606a00648

Comment by auto [ 03/May/12 ]

Author:

{u'login': u'amcfague', u'name': u'Andrew McFague', u'email': u'redmumba@gmail.com'}

Message: SERVER-5511: `help` is not a log, and shouldn't be given `migrateLog`

This corrects an issue where `migrateLog` was being passed into a string
stream. For a log() object, this would have altered its behavior
normally, but for a regular stringstream, just displayed the pointer
value

Signed-off-by: Randolph Tan <randolph@10gen.com>
Branch: master
https://github.com/mongodb/mongo/commit/c865d831777986b7a90dfd1d39975f792174c715

Comment by Andrew McFague [ 30/Apr/12 ]

This was an instance where what was once a log looked to have been replaced with a stringstream; so it was being passed a pointer that should have altered its behavior but was instead just outputting the pointer.

Pull request is here: https://github.com/mongodb/mongo/pull/217

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