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

Stuck in error message for query

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.41.0
    • Component/s: None
    • Labels:
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Developer Tools
    • Not Needed

      Problem Statement/Rationale

      I'm trying to filter by date, if i make an error in my query eg : putting "2023-12-00" I'm not able to edit my query and i'm stuck in the error page. Previous version didn't have that problem.

      {
        "createdAt":

      {     "$gte": new Date("2023-12-00T00:00:00.000Z"),     "$lt": new Date("2023-12-31T00:00:00.000Z")   }

      }

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

      Steps to Reproduce

      {
        "createdAt":

      {     "$gte": new Date("2023-12-00T00:00:00.000Z"),     "$lt": new Date("2023-12-31T00:00:00.000Z")   }

      }

      Expected Results

      Error display but able to edit my query.

      Actual Results

      Stuck in the error message.

        1. Screenshot 2024-01-04 at 11.56.18.png
          78 kB
          Raphael Sculati
        2. Screenshot 2024-01-04 at 11.56.20.png
          49 kB
          Raphael Sculati
        3. Screenshot 2024-01-04 at 12.05.08.png
          26 kB
          Raphael Sculati

            Assignee:
            Unassigned Unassigned
            Reporter:
            raphael@thecomputerfirm.com Raphael Sculati
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: