Stop validating collation in Compass, defer to Server validation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS: -
      node.js / npm versions: -
      Additional info: Observable in Compass / DE
    • 3
    • None
    • None
    • Developer Tools

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      See HELP-80657

      The "fi" locale is not permitted but is documented as supported in mongodb docs. "fi_FI" is permitted but not supported by the server.

      Let's just remove Compass's validation logic for collation and defer to the server.

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Create an index on the index tab with the correct locale.

      The validation is based on this list: https://github.com/mongodb-js/devtools-shared/blob/main/packages/query-parser/src/constants.ts

      Expected Results

      What do you expect to happen?

      Actual Results

      What do you observe is happening?

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            Unassigned
            Reporter:
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: