Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49489

IDL doesn't properly deal with an optional string field when part of a chained struct

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: IDL
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Security 2020-07-27

      Chaining a struct that has an optional string field fails to compile because:

      no viable conversion from 'std::string' (aka 'basic_string<char>') to 'boost::optional<StringData>'

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: