Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

CreatedDate is updated when updating segment

Found in

EPiServer.Profiles.Client 1.6.0

Fixed in

EPiServer.Profiles.Client 1.6.0

(Or a related package)

Created

Jul 25, 2018

Updated

Sep 18, 2018

State

Closed, Fixed and tested


Description

1. Create a segment (Seg1).
Result1: 201 Create successfully, CreatedDate and ModifiedDate are the same
2. Update segment Seg1, such as: update SegmentManager.
Result2: 200 Update successfully

  • SegmentManager is updated
  • CreatedDate and ModifiedDate are updated and are the same => wrong
  • all remaining fields are unchanged (SegmentId is unchanged too)

Expected: ModifiedDate is updated but CreatedDate must be unchanged.
(With the same SegmentId, CreatedDate must be the time that segment is created)

Actual:
CreatedDate and ModifiedDate are updated and are the same