[COMPASS-5690] Editing Date fields in Compass Created: 05/Apr/22  Updated: 05/Apr/22  Resolved: 05/Apr/22

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.31.0
Fix Version/s: 1.31.1

Type: Bug Priority: Major - P3
Reporter: Vasileios Tsionis Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: macOS Monterey v12.3.1
MongoDB Compass: v1.31.0


Issue Links:
Duplicate
duplicates COMPASS-5664 Editing Date document field changes f... Closed
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

When editing a Date field in Compass, after clicking the UPDATE button, the field is stored as String without the user explicitly marking it as such.

Steps to Reproduce

  1. Double click the existing Date field to enable "EDIT" mode.
  2. Edit the Date field, by i.e. changing 2022-05-01T06:00:00.000+00:00 to 2022-05-02T06:00:00.000+00:00.
  3. Click the "UPDATE" button.

Expected Results

The Date field to still be marked as Date.

Actual Results

The Date field is now marked automatically as String.

 



 Comments   
Comment by Anna Henningsen [ 05/Apr/22 ]

vtsionis@gofilex.nl Thanks for the ticket! We've already fixed this in COMPASS-5664, which has been released today in Compass 1.31.1.

Please let us know if you run into any other problems!

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