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

APIStrict validation is not performed for fields in 'indexes' array in createIndex command

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL

      SERVER-73872 fixes the bug of apistrict validation not happening for fields in inner structs in commands. However this issue still remains for fields in 'indexes' array in createIndex command. This is because theĀ 'NewIndexSpec' struct is not parsed and validated by the generated idl code but stored as bsonobj. The bsonobj is manually validated later but the apistrict check for the unstable fields in that struct is not being done.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            projjal.chanda@mongodb.com Projjal Chanda
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: