This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new 2e3cbef  Fixing an hidden yet old bug: display attributes selection 
did not work properly for groups
2e3cbef is described below

commit 2e3cbef2f68848a09c73aafe5fa8ad528c085537
Author: Francesco Chicchiriccò <[email protected]>
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 2b36dc2..6351b48 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
@@ -193,7 +193,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;

Reply via email to