Try our conversational search powered by Generative AI!

[ProfileAPI] Shouldn't allow to create or update profile that FirstSeen is greater than LastSeen

Found in

EPiServer.Profiles 1.4.0

Fixed in

EPiServer.Profiles.Client 1.5.0

(Or a related package)

Created

Feb 21, 2018

Updated

Sep 13, 2018

State

Closed, Fixed and tested


Description

1. Post a profile with below setting:
{
"Name": null,
"ProfileManager": null,
"FirstSeen": "1998-01-01T00:00:00",
"LastSeen": "1990-01-01T00:00:00",
"Visits": 0,
"Info": {},
"DeviceIds": [],
"Scope": "DefaultScope",
"Payload": null
}

Expected: new profile isn't created because FirstSeen is greater than LastSeen
Observed: A new profile is still created.
Note: This issue also happens with update a profile.