Associated products bug

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

Associated products bug

jonatan soto
Hi,

There is an error regarding to associated products for a product.
https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductAssoc?productId=dropShip1

This is how I solved:

EditProductAssoc.ftl (line 144)

<#if useValues> <#assign value>${productAssoc.thruDate?if_exists} </#assign>
<#else> <#assign value>${(request.getParameter("THRU_DATE"))?if_exists}
</#assign></#if>
<@htmlTemplate.renderDateTimeField name="THRU_DATE" event="" action=""
value="${value}" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" size="25" maxlength="30" id="thruDate1" dateType="date"
shortDateInput=false timeDropdownParamName="" defaultDateTimeString=""
localizedIconTitle="" timeDropdown="" timeHourName="" classString=""
hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName=""
amSelected="" pmSelected="" compositeType="" formName=""/>

HTH

--
-----

Jonatan Soto
Reply | Threaded
Open this post in threaded view
|

Re: Associated products bug

Jacques Le Roux
Administrator
Thanks for your report Jonatan,

I have fixed following your suggestion but a different syntax, only in trunk at r1049967 (comes from jQuery merge)

Jacques

From: "Jonatan Soto" <[hidden email]>

> Hi,
>
> There is an error regarding to associated products for a product.
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductAssoc?productId=dropShip1
>
> This is how I solved:
>
> EditProductAssoc.ftl (line 144)
>
> <#if useValues> <#assign value>${productAssoc.thruDate?if_exists} </#assign>
> <#else> <#assign value>${(request.getParameter("THRU_DATE"))?if_exists}
> </#assign></#if>
> <@htmlTemplate.renderDateTimeField name="THRU_DATE" event="" action=""
> value="${value}" className="" alert="" title="Format: yyyy-MM-dd
> HH:mm:ss.SSS" size="25" maxlength="30" id="thruDate1" dateType="date"
> shortDateInput=false timeDropdownParamName="" defaultDateTimeString=""
> localizedIconTitle="" timeDropdown="" timeHourName="" classString=""
> hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName=""
> amSelected="" pmSelected="" compositeType="" formName=""/>
>
> HTH
>
> --
> -----
>
> Jonatan Soto
>