This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new e0205a491c [SYNCOPE-1959] solved group relationship management error
in console (#1338)
e0205a491c is described below
commit e0205a491c4d480165f7d5814d9a7a96f91f587c
Author: Andrea Patricelli <[email protected]>
AuthorDate: Fri Apr 3 20:23:07 2026 +0200
[SYNCOPE-1959] solved group relationship management error in console (#1338)
---
.../java/org/apache/syncope/client/console/wizards/any/PlainAttrs.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/PlainAttrs.java
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/PlainAttrs.java
index bbfb9b0f3d..81b676c28c 100644
---
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/PlainAttrs.java
+++
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/PlainAttrs.java
@@ -37,6 +37,7 @@ import org.apache.syncope.common.lib.to.GroupTO;
import org.apache.syncope.common.lib.to.GroupableRelatableTO;
import org.apache.syncope.common.lib.to.MembershipTO;
import org.apache.syncope.common.lib.to.PlainSchemaTO;
+import org.apache.syncope.common.lib.to.RelatableTO;
import org.apache.syncope.common.lib.to.RelationshipTO;
import org.apache.syncope.common.lib.to.UserTO;
import org.apache.syncope.common.lib.types.AttrSchemaType;
@@ -229,7 +230,7 @@ public class PlainAttrs extends
AbstractAttrs<PlainSchemaTO> {
@Override
protected void setAttrs(final RelationshipTO relationshipTO) {
- Map<String, Attr> attrMap =
GroupableRelatableTO.class.cast(attributable).
+ Map<String, Attr> attrMap = RelatableTO.class.cast(attributable).
getRelationship(relationshipTO.getType(),
relationshipTO.getOtherEndKey()).
map(gr -> EntityTOUtils.buildAttrMap(gr.getPlainAttrs())).
orElseGet(HashMap::new);