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
    • 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.

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

              Created:
              Updated:
              Resolved: