Author: jleroux
Date: Mon Apr 18 14:40:15 2011
New Revision: 1094600
URL:
http://svn.apache.org/viewvc?rev=1094600&view=revLog:
Slight improvement to prevent false error messages when putting spaces in readers names, eg after commas for istance
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataLoader.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataLoader.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataLoader.java?rev=1094600&r1=1094599&r2=1094600&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataLoader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataLoader.java Mon Apr 18 14:40:15 2011
@@ -98,7 +98,7 @@ public class EntityDataLoader {
}
// get all of the main resource model stuff, ie specified in the entityengine.xml file
- EntityDataReaderInfo entityDataReaderInfo = EntityConfigUtil.getEntityDataReaderInfo(readerName);
+ EntityDataReaderInfo entityDataReaderInfo = EntityConfigUtil.getEntityDataReaderInfo(readerName.trim());
if (entityDataReaderInfo == null) {
Debug.logInfo("Could not find entity-data-reader named: " + readerName + ". Creating a new reader with this name. ", module);