[COMPASS-5661] Compass is changing data types when manually saving changes to a document Created: 01/Apr/22  Updated: 04/Apr/22  Resolved: 04/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: Julian Curd Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all


Attachments: PNG File image-2022-04-01-18-00-52-883.png    
Issue Links:
Duplicate
duplicates COMPASS-5664 Editing Date document field changes f... Closed
Documentation Changes: 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:



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

Closing this as a duplicate of COMPASS-5664, but thank you for reporting this!

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