You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2020/09/11 09:20:00 UTC

[jira] [Comment Edited] (OFBIZ-11955) display/selection of unit of measure is broken

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

Jacques Le Roux edited comment on OFBIZ-11955 at 9/11/20, 9:19 AM:
-------------------------------------------------------------------

Hi Alex,

You asked me:
bq. btw, how can i invoke code of InlineProductdetail.ftl?

You can have an idea by looking for it. It's into Product.groovy. Then you will see it's used when an AGGREGATED product is shown in order creation. One of them is "CFSV1001" that you can found into OrderDemoData.xml. Others are in DemoConfigurator.xml in ecommerce, HTH 


was (Author: jacques.le.roux):
Hi Alex,

You asked me:
bq. btw, how can i invoke code of InlineProductdetail.ftl?

You can have an idea by looking for it. It's into Product.groovy. Then you will see it's used when an AGGREGATED is shown. One of them is "CFSV1001" that you can found into OrderDemoData.xml. Others are in DemoConfigurator.xml in ecommerce, HTH 

> display/selection of unit of measure is broken
> ----------------------------------------------
>
>                 Key: OFBIZ-11955
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11955
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, order
>    Affects Versions: Release Branch 17.12, Trunk
>            Reporter: Alex Bodnaru
>            Priority: Major
>         Attachments: Image 002.png, Image 002.png, Image damned.png, Image1.png, ProductVariantJS.ftl, image-2020-08-22-13-00-44-947.png, image-2020-08-22-13-00-57-856.png, image-2020-08-22-13-03-22-775.png, image-2020-08-22-13-04-07-722.png, variantinfojs-1.patch, variantinfojs-2.patch, variantinfojs-3.patch, variantinfojs-data.xml, variantinfojs-final.patch, variantinfojs-undo.patch
>
>
> checkAmtReq and getVariantPrice are broken for similar reasons, too.
> the display and selection of alternative uom elements occur in multiple forms, one for each product: whether detailed or in summary. thus, they should be marked by names and classes, not by ids, that are unique in the entire document.
> the bug did not manifest in demo data, since only one product has alternative packaging.
> i did duplicate wg-1111* products and arranged their relations. is, btw, a way to export product trees in order to share them?
> the fix does span the framework and ecommerce repositories.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)