Try our conversational search powered by Generative AI!

GET segments do not get updated Matching profiles

Fixed in

EPiServer.Profiles.Client 1.6.0

(Or a related package)

Created

Jul 16, 2018

Updated

Sep 18, 2018

State

Closed, Fixed and tested


Description

1. Create a new segment via ProfileAPI, e.g.
POST /api/v1.0/segments/

{ "Name": "Invalid segment3 ", "Description": "string", "Scope": "default", "SegmentManager": "string", "ProfileQuery": "Info.Email ne admin@example.com" }

-->
"SegmentId": "f9591a6b-d0ba-4463-9dd2-62807b7902ba"
"MatchingProfiles": 2
returns

2. Send a new profile via ProfileAPI.
POST api/v1.0/Profiles/

{ "Name": "Invalid segment3" }

3. Get the step1 created segment.
GET /api/v1.0/segments/f9591a6b-d0ba-4463-9dd2-62807b7902ba

Expected:
"MatchingProfiles": 3 is returned

Actual:
"MatchingProfiles": 2 is returned

Note:

  • The Insight shows 3 satisfied profiles properly
  • Creating a new segment with the same "ProfileQuery": "Info.Email ne admin@example.com", the "MatchingProfiles": 3 is returned