[COMPASS-7564] Stuck in error message for query Created: 04/Jan/24  Updated: 22/Jan/24  Resolved: 05/Jan/24

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: 1.41.0
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Raphael Sculati Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: first-responder
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Attachments: PNG File Screenshot 2024-01-04 at 11.56.18.png     PNG File Screenshot 2024-01-04 at 11.56.20.png     PNG File Screenshot 2024-01-04 at 12.05.08.png    
Issue Links:
Related
related to COMPASS-7515 Wrong data format in aggregation resu... Closed
Assigned Teams:
Developer Tools
Documentation Changes: Not Needed

 Description   

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.



 Comments   
Comment by Kevin Mas Ruiz [ 05/Jan/24 ]

Hi,

thanks a lot for reporting the error. We are going to close this issue, as it's the same bug we've found in https://jira.mongodb.org/browse/COMPASS-7515, which we are already tracking.

Please feel free to open any other issue in case you find something new.

Thanks a lot,

Comment by PM Bot [ 04/Jan/24 ]

Hello raphael@thecomputerfirm.com, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible.

Please review your issue to ensure you've included your environment details and have attached relevant logs (with any sensitive data redacted), so that we're best able to provide you a timely and thorough response. Thanks again!

Generated at Wed Feb 07 22:46:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.