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

Turn parseNamespaceFromRequest calls to deserialize in IDL

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Server Serverless 2023-07-24, Server Serverless 2023-08-07, Server Serverless 2023-08-21

    Description

      We currently call NamespaceStringUtil::parseNamespaceFromRequest() to deserialize the top-level namespace string object in command requests, but are not passing in the serialization context.  This prevents us from deserializing into the namespace string object correctly according to the request's expectPrefix field, so we need to address this.

      Tests are not currently failing around this because we have not yet introduced the expectPrefix field in our requests yet, so we will need to add some testing for this.

      Attachments

        Activity

          People

            hugh.tong@mongodb.com Hugh Tong (Inactive)
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: