sergehuber opened a new pull request, #940:
URL: https://github.com/apache/unomi/pull/940

   ## Summary
   - `CDPUpdateListsAction` mutated the profile's existing 
`systemProperties.lists` in place, then sent that same object to 
`updateProperties`. `PropertyHelper` then saw no change, so join/leave was a 
no-op whenever the profile already had at least one list (found while reviewing 
UNOMI-1027 / PR 939).
   - Build a new list copy before add/remove so the update is detected and the 
profile is saved.
   
   ## Test plan
   - [x] `mvn -pl graphql/cxs-impl -am test -Dtest=CDPUpdateListsActionTest`
   - [ ] Manual: profile already in list A, GraphQL `addProfileToList` for list 
B → membership includes both; `removeProfileFromList` for A → only B remains
   
   https://issues.apache.org/jira/browse/UNOMI-1030


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to