You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/01/24 15:40:51 UTC
[syncope] branch 2_1_X updated: Fixing an hidden yet old bug:
display attributes selection did not work properly for groups
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_1_X by this push:
new d09be8a Fixing an hidden yet old bug: display attributes selection did not work properly for groups
d09be8a is described below
commit d09be8a55ee4276ecea13e69fe46176842d7e4e6
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Thu Jan 24 16:39:46 2019 +0100
Fixing an hidden yet old bug: display attributes selection did not work properly for groups
---
.../syncope/client/console/panels/DisplayAttributesModalPanel.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java
index af6867a..49dd601 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java
@@ -192,7 +192,7 @@ public abstract class DisplayAttributesModalPanel<T extends Serializable> extend
protected static final Class<? extends AnyTO> getTOClass(final String type) {
if (type.equalsIgnoreCase(AnyTypeKind.USER.name())) {
return UserTO.class;
- } else if (type.equalsIgnoreCase(AnyTypeKind.USER.name())) {
+ } else if (type.equalsIgnoreCase(AnyTypeKind.GROUP.name())) {
return GroupTO.class;
} else {
return AnyObjectTO.class;