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

Broken query pasting

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.39.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS: macOS
      node.js / npm versions:
      Additional info: Version 1.39.3 (1.39.3)
    • 2
    • Not Needed
    • Iteration Juravenator

      Problem Statement/Rationale

      Filter pasting is broken after you started pre-populating the field with {}

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

      Steps to Reproduce

      • copy a query
      • put cursor in Filter field
      • ⌘V
      • observe pasted query is rewritten to {}

      Expected Results

      when I paste something, ex. {Prop1: "abc"}, I expect to see {Prop1: "abc"}

      Actual Results

      when I paste something, ex. {Prop1: "abc"}, I get {}

      Additional Notes

      gif added

        1. 2023-08-28 17.31.51.gif
          2023-08-28 17.31.51.gif
          904 kB
        2. 2023-08-28 17.41.56.gif
          2023-08-28 17.41.56.gif
          31 kB
        3. 2023-08-28 17.42.46.gif
          2023-08-28 17.42.46.gif
          71 kB

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            ahmad.husseini@moduleq.com Ahmad Husseini
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: