Author: thanh_tung_do
Date: 2010-06-08 07:36:22 -0400 (Tue, 08 Jun 2010)
New Revision: 3251
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIListMembershipType.java
Log:
GTNPORTAL-1217: set value "" for membership's description if
membership's description is null
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIListMembershipType.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIListMembershipType.java 2010-06-08
10:45:09 UTC (rev 3250)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIListMembershipType.java 2010-06-08
11:36:22 UTC (rev 3251)
@@ -90,6 +90,10 @@
OrganizationService service =
uiMembership.getApplicationComponent(OrganizationService.class);
MembershipType mt =
service.getMembershipTypeHandler().findMembershipType(name);
+ if(mt.getDescription()==null)
+ {
+ mt.setDescription("");
+ }
UIMembershipManagement uiMembershipManager = uiMembership.getParent();
UIMembershipTypeForm uiForm =
uiMembershipManager.getChild(UIMembershipTypeForm.class);
uiForm.setMembershipType(mt);
Show replies by date