[CXX-661] bsoncxx::oid hex string constructor broken Created: 05/Sep/15  Updated: 08/Jan/24  Resolved: 21/Sep/15

Status: Closed
Project: C++ Driver
Component/s: BSON
Affects Version/s: 0.2.0
Fix Version/s: 3.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Björn Samvik Assignee: Mira Carey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C++11 Driver MongoDB 3.2

 Description   

Using the oid(stdx::string_view str) constructor generates an oid instance containing a random oid.

Expected result:
An oid instance representing the oid passed to the constructor.



 Comments   
Comment by Mira Carey [ 21/Sep/15 ]

samvik Merged. Thanks for your interest in the C++11 driver

Comment by Githook User [ 21/Sep/15 ]

Author:

{u'username': u'samvik', u'name': u'Bj\xf6rn Samvik', u'email': u'bjorn@samvik.se'}

Message: CXX-661 - Added missing memcpy in oid constructor.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/08746a7548e6e807ec2c0177127149fc92cc2534

Comment by Björn Samvik [ 19/Sep/15 ]

It should be signed now.

Comment by Mira Carey [ 18/Sep/15 ]

samvik, we're happy to merge your pull request, but before we do we'll need you to sign the contributor's aggreement

Thanks,
Jason

Comment by Andrew Morrow (Inactive) [ 07/Sep/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/311

Generated at Wed Feb 07 21:59:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.