- Issue created by @Grimreaper
- 🇫🇷France Grimreaper France 🇫🇷
Shunting the first loop does not help.
And if I save a user whitout changing roles, I have both "administrator" is new message and adminstrator role has been removed while the user had and still has the administrator role.
- Assigned to jurgenhaas
- 🇩🇪Germany jurgenhaas Gottmadingen
Thanks for the heads-up @Grimreaper, I'll have a look.
-
jurgenhaas →
committed 1898d8b1 on 2.0.x
Issue #3382965 by Grimreaper, jurgenhaas: Problem detected in...
-
jurgenhaas →
committed 1898d8b1 on 2.0.x
- Status changed to Fixed
over 1 year ago 4:52pm 2 January 2024 - 🇩🇪Germany jurgenhaas Gottmadingen
Fixed the typo for the first linked example and also fixed the role change detection model by replacing the Token: set value action with the Entity: get field value action. The difference is that the former keeps a reference to the entity field in the token, which results in field value changes when looping through the list. The latter action, however, copies the field values into a list in the token, which is detached from the entity field, and hence doesn't have any impact on it.
- 🇫🇷France Grimreaper France 🇫🇷
Thanks @jurgenhaas for the update and explanations.
Automatically closed - issue fixed for 2 weeks with no activity.