[SERVER-38327] IDL does not support optional types with validators Created: 30/Nov/18  Updated: 29/Oct/23  Resolved: 07/Dec/18

Status: Closed
Project: Core Server
Component/s: IDL
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-38324 Add validator in TransactionCoordinat... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2018-12-17
Participants:

 Description   

If optional fields have a validator, they either fail to compile or abort at runtime when encountering boost::none.

esha.maharishi discovered this issue.



 Comments   
Comment by Githook User [ 07/Dec/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-38327 IDL does not support optional types with validators
Branch: master
https://github.com/mongodb/mongo/commit/5144b7b03d175c90d906343ee55bfad6215386db

Comment by Githook User [ 07/Dec/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-38327 IDL does not support optional types with validators
Branch: master
https://github.com/mongodb/mongo/commit/7f5dd2e6158613c20cc03692f099e6036aa7e5e1

Generated at Thu Feb 08 04:48:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.