[ 
https://issues.apache.org/jira/browse/UNOMI-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevan Jahanshahi reassigned UNOMI-691:
--------------------------------------

    Assignee: Kevan Jahanshahi

> 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
>            Assignee: Kevan Jahanshahi
>            Priority: Major
>             Fix For: unomi-2.2.0, unomi-1.8.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to