You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "romain.gauthier (Jira)" <ji...@apache.org> on 2022/10/19 18:24:00 UTC
[jira] [Created] (UNOMI-691) Control groups dont work well with profile merge
romain.gauthier created UNOMI-691:
-------------------------------------
Summary: Control groups dont work well with profile merge
Key: UNOMI-691
URL: https://issues.apache.org/jira/browse/UNOMI-691
Project: Apache Unomi
Issue Type: Bug
Reporter: romain.gauthier
Fix For: unomi-1.6.2
h3. Context:
- The control groups are currently stored as a list, inside a profile or session property, depending on the control group configuration
- On login or any other profile stitching event, properties values are usually merged
h3. Problem:
Assuming https://issues.apache.org/jira/browse/UNOMI-690 has been fixed
h4. Given there are 2 profiles
- A, anonymous profile, with control group 123=true, 234=false, 456=missing
- B, identified profile, belonging to control group 123=false, 234=missing, 456=true
h4. Observed behavior
On profile merge, A will either erase all control groups of B
h4. Expected behavior
On profile merge, control groups for profile B should switch from:
123=false, 234=missing, 456=true
to:
123=false, 234=false, 456=true
In other words, I think that merging of control groups should use some kind of custom "set if missing" strategy for each control group value inside the list.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)