[gatein-commits] gatein SVN: r2990 - portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed May 5 23:25:18 EDT 2010


Author: thanh_tung_do
Date: 2010-05-05 23:25:17 -0400 (Wed, 05 May 2010)
New Revision: 2990

Modified:
   portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java
Log:
GTNPORTAL-1112: fix problem when add new membership with description is null

Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java	2010-05-05 18:12:01 UTC (rev 2989)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java	2010-05-06 03:25:17 UTC (rev 2990)
@@ -91,7 +91,7 @@
 
       public String getDescription()
       {
-         return mType.getDescription();
+         return (mType.getDescription() != null? mType.getDescription():"");
       }
       
       public String getEncodedDescription()



More information about the gatein-commits mailing list