[ 
https://issues.apache.org/jira/browse/OFBIZ-13039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17845428#comment-17845428
 ] 

ASF subversion and git services commented on OFBIZ-13039:
---------------------------------------------------------

Commit 7a709d6de39e8fdd6f5c374fecd2fc3945647797 in ofbiz-plugins's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=7a709d6de ]

Fixed: dateType parameter not existing in "renderDateTimeField" Macro 
(OFBIZ-13039)

Previous commit (4de5d7bf7e3f077cc81bd1d62bb1848c83c9392b) was wrong. I put back
dateType="date" parameter when isDateType=true should have been used.
It was put in with OFBIZ-12126 but then not changed in templates plugins

It also fixes commit ba1b753ef6d653e6e7aeeca4add330c627cabf91 of OFBIZ-7949

So this replaces dateType="date" by isDateType=true in "renderDateTimeField"
Macro in:
ProductDetail.ftl
EditShoppingList.ftl
EditTaskAndAssoc.ftl
ListSurveys.ftl


> dateType parameter not existing in "renderDateTimeField" Macro 
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-13039
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13039
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: 18.12.13
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 18.12.13
>
>
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> ----
> FTL stack trace ("~" means nesting-related):
>       - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> ----



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to