Author: truong.le
Date: 2010-01-29 05:08:00 -0500 (Fri, 29 Jan 2010)
New Revision: 1467
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java
Log:
GTNPORTAL-559: Unkown error when add new membership in user and group management
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java 2010-01-29
09:03:01 UTC (rev 1466)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java 2010-01-29
10:08:00 UTC (rev 1467)
@@ -85,8 +85,9 @@
UIMembershipTypeForm uiForm = event.getSource();
UIMembershipManagement uiMembershipManagement = uiForm.getParent();
OrganizationService service =
uiForm.getApplicationComponent(OrganizationService.class);
+ String msTypeName = uiForm.getUIStringInput(MEMBERSHIP_TYPE_NAME).getValue();
- MembershipType mt =
service.getMembershipTypeHandler().findMembershipType(uiForm.membershipTypeName);
+ MembershipType mt =
service.getMembershipTypeHandler().findMembershipType(msTypeName);
if (mt != null)
{