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

Compass is changing data types when manually saving changes to a document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 1.31.0
    • 1.31.1
    • Compass
    • None
    • all
    • Not Needed

    Description

      Problem Statement/Rationale

      When manually editing a document with a date type attribute and changing this value, the data type for this attribute it changing to String, even while the data type selected is set to Date

      Steps to Reproduce

      Create a new document, set one the the attributes to a type Date and save.

      Edit the document and change the date, save. the data type will change to String.
      I'm using this date format when pasting into the attribute "2022-04-01T17:40:00.000+00:00", which was actually copied from another data attribute.

      Expected Results

      I would expect the data type selected on an existing document to remain the same - date

      Actual Results

      The data type is being changed to String when I expect it to remain as a Date

      Additional Notes

      This has only appeared in the last 20minutes for me as my version appears to have updated then. i.e. Encountered only on this version.

      Example:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julian.curd@gmail.com Julian Curd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: