November Happy Hour will be moved to Thursday December 5th.

Visitor group personalization doesn't work for segments with a query on profile payload

Found in

EPiServer.Profiles.Client 1.6.0

Fixed in

EPiServer.Profiles.Client 1.24.0

(Or a related package)

Created

Apr 10, 2019

Updated

Mar 05, 2021

State

Closed, Fixed and tested


Description

Precondition:

Create profile test@test.com with Payload info like this:

"Payload": {
     "number": 2
}

Steps to reproduce:

  1. Using API, create a segment with ProfileQuery being Payload like this one:
    {
      "Scope": "default",
      "SegmentManager": "admin@example.com",
      "ProfileQuery": "Payload.number eq 2",
      "AvailableForPersonalization": true,
      "Archived": false,
      "FavoredBy": [
        "string"
      ],
      "Name": "Payload",
      "Description": "Payload"
    }
    
  1. Create a Visitor Group for the segment in step 1.
  2. Set personalize content for Visitor Group in step 2.
  3. Log in to the site with profile test@test.com and view the personalize content.

Expected result:

The user can see the personalized content.

Actual result:

The user cannot see the personalized content.