Author: zhangwei
Date: Thu May 31 01:20:54 2018
New Revision: 1832577
URL:
http://svn.apache.org/viewvc?rev=1832577&view=revLog:
A minor fix for serviceEndTime conversion
Modified:
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java?rev=1832577&r1=1832576&r2=1832577&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java Thu May 31 01:20:54 2018
@@ -240,7 +240,7 @@ public class CoreEvents {
endTime = ts1.getTime();
} catch (IllegalArgumentException e) {
try {
- endTime = Long.parseLong(serviceTime);
+ endTime = Long.parseLong(serviceEndTime);
} catch (NumberFormatException nfe) {
String errMsg = UtilProperties.getMessage(CoreEvents.err_resource, "coreEvents.invalid_format_time", locale);
errorBuf.append(errMsg);