Author: jleroux
Date: Wed Dec 5 00:43:35 2007
New Revision: 601248
URL:
http://svn.apache.org/viewvc?rev=601248&view=revLog:
Applied fix from trunk for revision: 601072
Modified:
ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
Modified: ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java?rev=601248&r1=601247&r2=601248&view=diff==============================================================================
--- ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java (original)
+++ ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java Wed Dec 5 00:43:35 2007
@@ -405,6 +405,9 @@
field.validators = aliasedField.validators;
field.colName = alias.entityAlias + "." + SqlJdbcUtil.filterColName(aliasedField.colName);
+ if (UtilValidate.isEmpty(field.description)) {
+ field.description = aliasedField.description;
+ }
}
this.fields.add(field);