svn commit: r588783 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceRule.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r588783 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceRule.java

lektran
Author: lektran
Date: Fri Oct 26 14:49:05 2007
New Revision: 588783

URL: http://svn.apache.org/viewvc?rev=588783&view=rev
Log:
Fixed problem with creating RecurrenceRules, reported by William Perng OFBIZ-1368

Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceRule.java

Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceRule.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceRule.java?rev=588783&r1=588782&r2=588783&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceRule.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceRule.java Fri Oct 26 14:49:05 2007
@@ -656,8 +656,8 @@
             GenericValue value = delegator.makeValue("RecurrenceRule");
 
             value.set("frequency", freqStr);
-            value.set("intervalNumber", interval);
-            value.set("countNumber", count);
+            value.set("intervalNumber", Long.valueOf(interval));
+            value.set("countNumber", Long.valueOf(count));
             if (endTime > 0) {
                 value.set("untilDateTime", new java.sql.Timestamp(endTime));
             }