This is an automated email from the ASF dual-hosted git repository. deepak pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 3f253bed8b Fixed: dateRange1 is not valid fileds for the entity TemporalExpression (OFBIZ-12695) While fixing the issue reported under OFBIZ-7066 invalid fileds names was used. Reverted commit#1791791, will fix the orinal issue in next commit 3f253bed8b is described below commit 3f253bed8ba9d9e4ce2d5b6985020169859cf4e1 Author: Deepak Dixit <deepak.di...@hotwax.co> AuthorDate: Mon Sep 26 11:17:40 2022 +0530 Fixed: dateRange1 is not valid fileds for the entity TemporalExpression (OFBIZ-12695) While fixing the issue reported under OFBIZ-7066 invalid fileds names was used. Reverted commit#1791791, will fix the orinal issue in next commit --- framework/webtools/template/tempexpr/TempExprMacros.ftl | 6 +++--- framework/webtools/template/tempexpr/TempExprMaint.ftl | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/framework/webtools/template/tempexpr/TempExprMacros.ftl b/framework/webtools/template/tempexpr/TempExprMacros.ftl index 039b26c832..3a5b01202a 100644 --- a/framework/webtools/template/tempexpr/TempExprMacros.ftl +++ b/framework/webtools/template/tempexpr/TempExprMacros.ftl @@ -36,13 +36,13 @@ your template file: <tr> <td class="label">${uiLabelMap.CommonFrom}</td> <td> - <@DateField formName=formName fieldName="dateRange1" fieldValue=fromDate/> + <@DateField formName=formName fieldName="date1" fieldValue=fromDate/> </td> </tr> <tr> <td class="label">${uiLabelMap.CommonTo}</td> <td> - <@DateField formName=formName fieldName="dateRange2" fieldValue=toDate/> + <@DateField formName=formName fieldName="date2" fieldValue=toDate/> </td> </tr> </#macro> @@ -104,7 +104,7 @@ your template file: <tr> <td class="label">${uiLabelMap.CommonFrom}</td> <td> - <@DateField formName=formName fieldName="dateFreq1" fieldValue=fromDate/> + <@DateField formName=formName fieldName="date1" fieldValue=fromDate/> </td> </tr> <tr> diff --git a/framework/webtools/template/tempexpr/TempExprMaint.ftl b/framework/webtools/template/tempexpr/TempExprMaint.ftl index 4481c2ac45..a377066c36 100644 --- a/framework/webtools/template/tempexpr/TempExprMaint.ftl +++ b/framework/webtools/template/tempexpr/TempExprMaint.ftl @@ -46,7 +46,7 @@ under the License. </tr> </#if> <#if "DATE_RANGE" == temporalExpression.tempExprTypeId> - <@DateRange formName="updateExpression" fromDate=temporalExpression.dateRange1 toDate=temporalExpression.dateRange2/> + <@DateRange formName="updateExpression" fromDate=temporalExpression.date1 toDate=temporalExpression.date2/> <#elseif "DAY_IN_MONTH" == temporalExpression.tempExprTypeId> <@DayInMonth occurrence=temporalExpression.integer2 day=temporalExpression.integer1/> <#elseif "DAY_OF_MONTH_RANGE" == temporalExpression.tempExprTypeId> @@ -54,7 +54,7 @@ under the License. <#elseif "DAY_OF_WEEK_RANGE" == temporalExpression.tempExprTypeId> <@DayOfWeekRange fromDay=temporalExpression.integer1 toDay=temporalExpression.integer2/> <#elseif "FREQUENCY" == temporalExpression.tempExprTypeId> - <@Frequency formName="updateExpression" fromDate=temporalExpression.dateFreq1 freqType=temporalExpression.integer1 freqValue=temporalExpression.integer2/> + <@Frequency formName="updateExpression" fromDate=temporalExpression.date1 freqType=temporalExpression.integer1 freqValue=temporalExpression.integer2/> <#elseif "DAY_OF_WEEK_RANGE" == temporalExpression.tempExprTypeId> <@DayOfWeekRange fromDay=temporalExpression.integer1 toDay=temporalExpression.integer2/> <#elseif "HOUR_RANGE" == temporalExpression.tempExprTypeId>