[SERVER-31278] idl definition does not generate properly qualified namespace for imported types Created: 26/Sep/17  Updated: 30/Oct/23  Resolved: 08/Dec/17

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

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

Attachments: File bad_idl.diff    
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-12-18
Participants:

 Comments   
Comment by Githook User [ 08/Dec/17 ]

Author:

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

Message: SERVER-31278 IDL definition does not generate properly qualified namespace for imported types
Branch: master
https://github.com/mongodb/mongo/commit/d89154f2a0b33cecbba10b19f66d667314c343d9

Comment by Randolph Tan [ 26/Sep/17 ]

Attached example diff. 'optime' is imported from replication_types.idl that is under the repl namespace, but the generated file will not include the repl:: namespace qualifier so it fails to compile

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