Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14691

Detailed schema validation errors on v5: missing configuration details for local clusters

    • Type: Icon: Task Task
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: 5.0.1
    • Component/s: manual, Server
    • Labels:
      None

      The documentation is missing the required configuration for a local cluster with a default setup (.mongo.conf) to provide detailed schema validation errors. This is preventing us from using it on our local environments for development.

      We are trying to leverage MongoDB v5's detailed validation messages for schemas (as per described at https://docs.mongodb.com/manual/core/schema-validation/#behavior). To test it out, we are just copy/pasting the example on the cited link. And while it works on our Atlas cluster, it doesn't show the error details on our local development servers (using the same version of `mongod` and `mongosh`, 5.0.1 and 1.0.1 respectively).

        1. Screen Shot 2021-07-29 at 12.19.29 PM.png
          Screen Shot 2021-07-29 at 12.19.29 PM.png
          369 kB
        2. Screenshot from 2021-07-29 11-39-53.png
          Screenshot from 2021-07-29 11-39-53.png
          5 kB
        3. Screenshot from 2021-07-29 11-43-28.png
          Screenshot from 2021-07-29 11-43-28.png
          16 kB
        4. Screenshot from 2021-07-29 11-45-44.png
          Screenshot from 2021-07-29 11-45-44.png
          48 kB
        5. Screenshot from 2021-07-30 15-40-53.png
          Screenshot from 2021-07-30 15-40-53.png
          78 kB

            Assignee:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Reporter:
            tomas@sulvo.com Tomas Romero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 38 weeks, 3 days ago