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

Turn parseNamespaceFromRequest calls to deserialize in IDL

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Server Serverless 2023-07-24, Server Serverless 2023-08-07, Server Serverless 2023-08-21

      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.

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

              Created:
              Updated:
              Resolved: