[DOCS-16237] Issue with creating an online archive rule for collection archiving Created: 30/Jun/23  Updated: 30/Jun/23  Resolved: 30/Jun/23

Status: Closed
Project: Documentation
Component/s: Atlas
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Anastasia Kravtsov Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Atlas Online Archive Rule creation


Issue Links:
Backports
Participants:
Days since reply: 31 weeks, 5 days ago

 Description   

Issue:

When creating an online archive rule for collection archiving the following error is shown:

Invalid criteria field type field name: date, detected field type: string

Date format example: YYYY-MM-DDThh:mm:ss.ms

RCA:

This error gets thrown when the archive field that is supposed to be an ISODate field returns a String field instead.

Solution:

Check if the date field is polymorphic and potentially includes String values alongside Date values. The remediation here would be to convert those String values to Date.



 Comments   
Comment by Anastasia Kravtsov [ 30/Jun/23 ]

Opened wrongly by mistake

Generated at Thu Feb 08 08:14:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.