From 44f057be287bc5e4a2fcd638befc27e0fc8e4d08 Mon Sep 17 00:00:00 2001 From: Yuriy Artamonov Date: Fri, 13 Mar 2015 09:55:12 +0000 Subject: [PATCH] Unable to create GroupProperty from GroupBrowser #PL-5045 --- .../cuba/gui/app/security/group/browse/GroupBrowser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/src/com/haulmont/cuba/gui/app/security/group/browse/GroupBrowser.java b/modules/gui/src/com/haulmont/cuba/gui/app/security/group/browse/GroupBrowser.java index a17dfaf7c4..f86bb26f37 100644 --- a/modules/gui/src/com/haulmont/cuba/gui/app/security/group/browse/GroupBrowser.java +++ b/modules/gui/src/com/haulmont/cuba/gui/app/security/group/browse/GroupBrowser.java @@ -4,6 +4,7 @@ */ package com.haulmont.cuba.gui.app.security.group.browse; +import com.haulmont.bali.util.ParamsMap; import com.haulmont.chile.core.model.MetaClass; import com.haulmont.cuba.core.entity.Entity; import com.haulmont.cuba.core.global.Metadata; @@ -266,7 +267,7 @@ public class GroupBrowser extends AbstractWindow { @Override public Map getInitialValues() { - return Collections.singletonMap("group", groupsTree.getSelected()); + return ParamsMap.of("group", groupsTree.getSingleSelected()); } @Override