Editing Date fields in Compass

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • 1.31.1
    • Affects Version/s: 1.31.0
    • Component/s: Compass
    • None
    • Environment:
      OS: macOS Monterey v12.3.1
      MongoDB Compass: v1.31.0
    • Not Needed
    • None

      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.

       

            Assignee:
            Unassigned
            Reporter:
            Vasileios Tsionis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: