Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6981

1.38: Compass creating incorrect index

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.39.0
    • Affects Version/s: 1.38.0
    • Component/s: Indexes
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Iteration Edmontonia
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      When you select a field from Compass' dropdown without typing the whole field name, an index is generated on only the characters typed in the text box. 

      Steps to Reproduce

      1. Create and index and start typing in the field name text box
      2. Select a field from the suggested field dropdown
      3. Create and index 

      Expected Results

      You'd expect an index to be created on the field selected from the dropdown. 

      Actual Results

      An index is created on the text entered in the text box before the field is created. 

      Additional Notes

      See screenshots for an example flow where I select "access" from the dropdown.

       

        1. Screenshot 2023-06-27 at 4.22.40 PM.png
          195 kB
          Julia Oppenheim
        2. Screenshot 2023-06-27 at 4.22.53 PM.png
          23 kB
          Julia Oppenheim
        3. Screenshot 2023-06-27 at 4.24.52 PM.png
          132 kB
          Julia Oppenheim

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            julia.oppenheim@mongodb.com Julia Oppenheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: