Author: apatel
Date: Tue Jun 26 10:27:04 2007
New Revision: 550870
URL:
http://svn.apache.org/viewvc?view=rev&rev=550870Log:
externalized the message template location. Improved the date format to match with the requirements.
Modified:
ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisServices.java
Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisServices.java?view=diff&rev=550870&r1=550869&r2=550870==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisServices.java Tue Jun 26 10:27:04 2007
@@ -138,7 +138,8 @@
try
{
Map oagisMsgInfoResult = dispatcher.runSync("createOagisMessageInfo", oagisMsgInfoContext);
- if (ServiceUtil.isError(oagisMsgInfoResult)) return oagisMsgInfoResult;
+ if (ServiceUtil.isError(oagisMsgInfoResult)) return ServiceUtil.returnError("Error creating OagisMessageInfo");
+
} catch (GenericServiceException e) {
Debug.logError(e, "Saving message to database failed", module);