Author: pgil
Date: Fri Oct 9 18:25:24 2015
New Revision: 1707786
URL:
http://svn.apache.org/viewvc?rev=1707786&view=revLog:
Applied fix from trunk for revision: 1707782
------------------------------------------------------------------------
r1707782 | pgil | 2015-10-09 20:18:52 +0200 (ven. 09 oct. 2015) | 4 lignes
OFBIZ-6637 : Work Effort Month Calendar View Is Broken
Fix a possible endless loop in TemporalExpression Evaluation. Daybump flag must be turned off when used.
Thanks Adrian Crum for Report
Modified:
ofbiz/branches/release12.04/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java
Modified: ofbiz/branches/release12.04/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release12.04/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java?rev=1707786&r1=1707785&r2=1707786&view=diff==============================================================================
--- ofbiz/branches/release12.04/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java (original)
+++ ofbiz/branches/release12.04/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java Fri Oct 9 18:25:24 2015
@@ -469,6 +469,7 @@ public class TemporalExpressions impleme
Calendar next = (Calendar) cal.clone();
if (includesDate(next)) {
if (context.dayBumped) {
+ context.dayBumped = false;
return next;
}
next.add(Calendar.DAY_OF_MONTH, 1);