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

Jacques Le Roux commented on OFBIZ-11955:
-----------------------------------------

OK got it (Unreversed patch detected!)

$ patch -p1 < variantinfojs-undo.patch
patching file 
applications/order/groovyScripts/entry/catalog/InlineProductDetail.groovy
patching file 
applications/order/groovyScripts/entry/catalog/ProductDetail.groovy
patching file 
applications/order/groovyScripts/entry/catalog/ProductSummary.groovy
patching file applications/order/template/entry/catalog/ProductDetail.ftl
patching file applications/order/template/entry/catalog/ProductSummary.ftl
Hunk #2 succeeded at 92 (offset -5 lines).
Hunk #3 succeeded at 100 (offset -5 lines).
Hunk #4 succeeded at 131 (offset -5 lines).
patching file 
applications/order/template/entry/catalog/ProductUomDropDownOnly.ftl
patching file applications/order/template/entry/catalog/ProductVariantJS.ftl
patching file applications/order/widget/ordermgr/OrderEntryCatalogScreens.xml

I'll check and hopefully commit...

> 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, InlineProductDetail.groovy.rej, ProductDetail.ftl.rej, 
> ProductDetail.groovy.rej, ProductSummary.ftl.rej, ProductSummary.groovy.rej, 
> ProductUomDropDownOnly.ftl.rej, 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)

Reply via email to